|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rometools.propono.blogclient.BaseBlogEntry org.rometools.propono.blogclient.metaweblog.MetaWeblogEntry org.rometools.propono.blogclient.metaweblog.MetaWeblogResource
public class MetaWeblogResource
MetaWeblog API implementation of an resource entry.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.rometools.propono.blogclient.BlogEntry |
---|
BlogEntry.Category, BlogEntry.Content, BlogEntry.Person |
Field Summary |
---|
Fields inherited from class org.rometools.propono.blogclient.BaseBlogEntry |
---|
author, categories, content, draft, id, modificationDate, permalink, publicationDate, summary, title |
Method Summary | |
---|---|
void |
delete()
Not supported by MetaWeblog API |
InputStream |
getAsStream()
Get media resource as input stream. |
byte[] |
getBytes()
Get resource data as byte array. |
String |
getContentType()
Get content-type of associated media resource. |
String |
getName()
Get resource name (name is required) |
String |
getToken()
Get token, which can be used to fetch the blog entry |
void |
save()
Save this entry to it's collection. |
void |
update(byte[] bytes)
Update resource by immediately uploading new bytes to server |
Methods inherited from class org.rometools.propono.blogclient.metaweblog.MetaWeblogEntry |
---|
equals |
Methods inherited from class org.rometools.propono.blogclient.BaseBlogEntry |
---|
getAuthor, getBlog, getCategories, getContent, getDraft, getId, getModificationDate, getPermalink, getPublicationDate, getSummary, getTitle, setAuthor, setCategories, setContent, setDraft, setModificationDate, setPublicationDate, setSummary, setTitle, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.rometools.propono.blogclient.BlogEntry |
---|
getAuthor, getBlog, getCategories, getContent, getDraft, getId, getModificationDate, getPermalink, getPublicationDate, getSummary, getTitle, setAuthor, setCategories, setContent, setDraft, setModificationDate, setPublicationDate, setSummary, setTitle |
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |