@Deprecated public class MetaWeblogResource extends MetaWeblogEntry implements BlogResource
BlogEntry.Category, BlogEntry.Content, BlogEntry.Personauthor, categories, content, draft, id, modificationDate, permalink, publicationDate, summary, title| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Deprecated.
Not supported by MetaWeblog API
|
InputStream |
getAsStream()
Deprecated.
Get media resource as input stream.
|
byte[] |
getBytes()
Deprecated.
Get resource data as byte array.
|
String |
getContentType()
Deprecated.
Get content-type of associated media resource.
|
String |
getName()
Deprecated.
Get resource name (name is required)
|
String |
getToken()
Deprecated.
Get token, which can be used to fetch the blog entry
|
void |
save()
Deprecated.
Save this entry to it's collection.
|
void |
update(byte[] bytes)
Deprecated.
Update resource by immediately uploading new bytes to server
|
equalsgetAuthor, getBlog, getCategories, getContent, getDraft, getId, getModificationDate, getPermalink, getPublicationDate, getSummary, getTitle, setAuthor, setCategories, setContent, setDraft, setModificationDate, setPublicationDate, setSummary, setTitle, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAuthor, getBlog, getCategories, getContent, getDraft, getId, getModificationDate, getPermalink, getPublicationDate, getSummary, getTitle, setAuthor, setCategories, setContent, setDraft, setModificationDate, setPublicationDate, setSummary, setTitlepublic String getName()
getName in interface BlogResourcepublic String getToken()
getToken in interface BlogEntrygetToken in class MetaWeblogEntrypublic String getContentType()
public InputStream getAsStream() throws BlogClientException
getAsStream in interface BlogResourceBlogClientExceptionpublic void save()
throws BlogClientException
save in interface BlogEntrysave in class MetaWeblogEntryBlogClientExceptionpublic void update(byte[] bytes)
throws BlogClientException
update in interface BlogResourceBlogClientExceptionpublic byte[] getBytes()
public void delete()
throws BlogClientException
delete in interface BlogEntrydelete in class MetaWeblogEntryBlogClientExceptionCopyright © 2023. All rights reserved.