@Deprecated public class MetaWeblogResource extends MetaWeblogEntry implements BlogResource
BlogEntry.Category, BlogEntry.Content, BlogEntry.Person
author, 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
|
equals
getAuthor, getBlog, getCategories, getContent, getDraft, getId, getModificationDate, getPermalink, getPublicationDate, getSummary, getTitle, setAuthor, setCategories, setContent, setDraft, setModificationDate, setPublicationDate, setSummary, setTitle, toString
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAuthor, getBlog, getCategories, getContent, getDraft, getId, getModificationDate, getPermalink, getPublicationDate, getSummary, getTitle, setAuthor, setCategories, setContent, setDraft, setModificationDate, setPublicationDate, setSummary, setTitle
public String getName()
getName
in interface BlogResource
public String getToken()
getToken
in interface BlogEntry
getToken
in class MetaWeblogEntry
public String getContentType()
public InputStream getAsStream() throws BlogClientException
getAsStream
in interface BlogResource
BlogClientException
public void save() throws BlogClientException
save
in interface BlogEntry
save
in class MetaWeblogEntry
BlogClientException
public void update(byte[] bytes) throws BlogClientException
update
in interface BlogResource
BlogClientException
public byte[] getBytes()
public void delete() throws BlogClientException
delete
in interface BlogEntry
delete
in class MetaWeblogEntry
BlogClientException
Copyright © 2018. All rights reserved.