JXTA
A C D E F G H I N R S U

A

accept(Content) - Method in interface net.jxta.share.ContentFilter
Returns true if the specified Content is accepted by this filter.
addListener(ShareStatusListener) - Method in interface net.jxta.share.ShareStatus
Adds the given listener If the request the ShareStatus has been filled or cancelled, the call returns false.
appendDocument(StructuredDocument, Element) - Method in class net.jxta.share.ContentAdvertisement
Appends this advertisement document to the specified structured document element.

C

cancel() - Method in interface net.jxta.share.ShareStatus
 
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
 

D

documentName - Static variable in interface net.jxta.share.SharePolicy
 

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.
getContent(PeerGroupAdvertisement, ContentId) - Method in interface net.jxta.share.SharePolicy
 
getContent(PeerGroupAdvertisement, ContentId, File) - Method in interface net.jxta.share.SharePolicy
 
getContent(PipeAdvertisement, ContentId) - Method in interface net.jxta.share.SharePolicy
 
getContent(PipeAdvertisement, ContentId, File) - Method in interface net.jxta.share.SharePolicy
 
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.
getContentManager() - Method in interface net.jxta.share.SharePolicy
 
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.
getList(PeerGroupAdvertisement) - Method in interface net.jxta.share.SharePolicy
 
getList(PipeAdvertisement) - Method in interface net.jxta.share.SharePolicy
 
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.
getPercentDone() - Method in interface net.jxta.share.ShareStatus
 
getPipeAdvertisement() - Method in interface net.jxta.share.SharePolicy
 
getPipePolicy() - Method in interface net.jxta.share.SharePolicy
 
getRequestId() - Method in interface net.jxta.share.ShareStatus
 
getResult() - Method in interface net.jxta.share.ShareStatus
 
getType() - Method in class net.jxta.share.ContentAdvertisement
Returns the mime type of the content, or null if not specified.

H

handleJxtaMessage(Message) - Method in interface net.jxta.share.SharePolicy
 

I

isDone() - Method in interface net.jxta.share.ShareStatus
 

N

name - Static variable in interface net.jxta.share.SharePolicy
Policy name by which it will be registered/retrieved

R

removeListener(ShareStatusListener) - Method in interface net.jxta.share.ShareStatus
 

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.
SharePolicy - interface net.jxta.share.SharePolicy.
 
ShareStatus - interface net.jxta.share.ShareStatus.
 
shareStatusChanged(ShareStatus) - Method in interface net.jxta.share.ShareStatusListener
 
ShareStatusListener - interface net.jxta.share.ShareStatusListener.
 
shareStatusUpdate(ShareStatus, int) - Method in interface net.jxta.share.ShareStatusListener
 
startPolicy(File) - Method in interface net.jxta.share.SharePolicy
 
stopPolicy() - Method in interface net.jxta.share.SharePolicy
 

U

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

A C D E F G H I N R S U
JXTA