|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BlogResource
Represents a file that has been uploaded to a blog.
Resources are modeled as a type of BlogEntry, but be aware: not all servers can save resource metadata (i.e. title, category, author, etc.). MetaWeblog based servers can't save metadata at all and Atom protocol servers are not required to preserve uploaded file metadata.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.rometools.propono.blogclient.BlogEntry |
---|
BlogEntry.Category, BlogEntry.Content, BlogEntry.Person |
Method Summary | |
---|---|
InputStream |
getAsStream()
Get resource as stream, using content.src as URL |
String |
getName()
Get resource name (name is required) |
void |
update(byte[] newBytes)
Update resource by immediately uploading new bytes to server |
Methods inherited from interface org.rometools.propono.blogclient.BlogEntry |
---|
delete, getAuthor, getBlog, getCategories, getContent, getDraft, getId, getModificationDate, getPermalink, getPublicationDate, getSummary, getTitle, getToken, save, setAuthor, setCategories, setContent, setDraft, setModificationDate, setPublicationDate, setSummary, setTitle |
Method Detail |
---|
String getName()
InputStream getAsStream() throws BlogClientException
BlogClientException
void update(byte[] newBytes) throws BlogClientException
BlogClientException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |