JXTA
A C E F G S U

A

accept(Content) - Method in interface net.jxta.share.ContentFilter
Returns true if the specified Content is accepted by this filter.
appendDocument(StructuredDocument, Element) - Method in class net.jxta.share.ContentAdvertisement
Appends this advertisement document to the specified structured document element.

C

Content - interface net.jxta.share.Content.
A Content object is used to represent shared content on a peer.
ContentAdvertisement - class net.jxta.share.ContentAdvertisement.
A ContentAdvertisement contains information about shared content within a peer group.
ContentAdvertisement() - Constructor for class net.jxta.share.ContentAdvertisement
 
ContentFilter - interface net.jxta.share.ContentFilter.
A ContentFilter is used to search local content.
ContentId - interface net.jxta.share.ContentId.
A ContentId represents a unique content identifier.
ContentManager - class net.jxta.share.ContentManager.
The ContentManager is used to manage local shared content for a peer.
ContentManager() - Constructor for class net.jxta.share.ContentManager
 

E

EN_CID - Static variable in class net.jxta.share.ContentAdvertisement
Content id document element name
EN_DESCRIPTION - Static variable in class net.jxta.share.ContentAdvertisement
Content description document element name
EN_LENGTH - Static variable in class net.jxta.share.ContentAdvertisement
Content length document element name
EN_NAME - Static variable in class net.jxta.share.ContentAdvertisement
Content name document element name
EN_TYPE - Static variable in class net.jxta.share.ContentAdvertisement
Content type document element name

F

FileContent - interface net.jxta.share.FileContent.
The FileContent interface represents a shared file content.

G

getAdvertisementType() - Static method in class net.jxta.share.ContentAdvertisement
Returns the advertisement type
getContent() - Method in class net.jxta.share.ContentManager
Returns an array of all the shared content.
getContent(ContentFilter) - Method in class net.jxta.share.ContentManager
Returns an array of all the shared content accepted by the specified content filter.
getContent(ContentId) - Method in class net.jxta.share.ContentManager
Returns an array of all the shared content with the specified content id.
getContentAdvertisement() - Method in interface net.jxta.share.Content
Returns the advertisement for the content.
getContentId() - Method in class net.jxta.share.ContentAdvertisement
Returns the id of the content.
getDescription() - Method in class net.jxta.share.ContentAdvertisement
Returns the description of the content, or null if not specified.
getFile() - Method in interface net.jxta.share.FileContent
Returns the File associated with this content.
getInputStream() - Method in interface net.jxta.share.Content
Returns an input stream for reading the content.
getLength() - Method in class net.jxta.share.ContentAdvertisement
Returns the length of the content, or -1 if not specified.
getMimeType(File) - Method in class net.jxta.share.ContentManager
Returns the mime type for the specified file, or null if unknown.
getName() - Method in class net.jxta.share.ContentAdvertisement
Returns the name of the content.
getType() - Method in class net.jxta.share.ContentAdvertisement
Returns the mime type of the content, or null if not specified.

S

share(File) - Method in class net.jxta.share.ContentManager
Shares the specified file using the file name as the share name and a default mime type based on the file name.
share(File, String) - Method in class net.jxta.share.ContentManager
Shares the specified file with a description.
share(File, String, String, String) - Method in class net.jxta.share.ContentManager
Shares the specified file with the provided content name, type, and description.

U

unshare(Content) - Method in class net.jxta.share.ContentManager
Removes the specified Content from the list of shared content.
unshare(ContentAdvertisement) - Method in class net.jxta.share.ContentManager
Removes the specified Content from the list of shared content.

A C E F G S U
JXTA