Class
Tree
Deprecated
Index
Help
JXTA
PREV NEXT
FRAMES
NO FRAMES
A
C
D
E
G
H
I
L
M
N
P
Q
R
S
T
U
A
ADVERTISEMENT_COUNT
- Static variable in class net.jxta.share.
CMS
C
cancel()
- Method in class net.jxta.share.
GetContentRequest
cancel()
- Method in class net.jxta.share.
ListContentRequest
CHUNK_DATA
- Static variable in class net.jxta.share.
CMS
CHUNK_OFFSET
- Static variable in class net.jxta.share.
CMS
CHUNK_SIZE
- Static variable in class net.jxta.share.
CMS
CMS
- class net.jxta.share.
CMS
.
This class implements the Content Management Service.
CMS()
- Constructor for class net.jxta.share.
CMS
contains(String)
- Method in class net.jxta.share.
MimeTable
Returns true if this mime table contains information for the specific mime type.
CONTENT_ADVERTISEMENT
- Static variable in class net.jxta.share.
CMS
CONTENT_ID
- Static variable in class net.jxta.share.
CMS
CONTENT_LENGTH
- Static variable in class net.jxta.share.
CMS
ContentIdImpl
- class net.jxta.share.
ContentIdImpl
.
ContentId implementation based on MD5 digest algorithm.
ContentIdImpl(InputStream)
- Constructor for class net.jxta.share.
ContentIdImpl
ContentIdImpl(String)
- Constructor for class net.jxta.share.
ContentIdImpl
ContentManagerImpl
- class net.jxta.share.
ContentManagerImpl
.
ContentManagerImpl(File)
- Constructor for class net.jxta.share.
ContentManagerImpl
ContentManagerTest
- class net.jxta.test.
ContentManagerTest
.
D
DEFAULT_DIR
- Static variable in class net.jxta.share.
CMS
E
encodeAs
- Static variable in class net.jxta.share.
CMS
equals(Object)
- Method in class net.jxta.share.
UUID
Returns true if this UUID is equal to the specified object.
equals(Object)
- Method in class net.jxta.share.
ContentIdImpl
Returns true if this content id is equal to the specified object.
G
GET_REQUEST
- Static variable in class net.jxta.share.
CMS
GET_RESULT
- Static variable in class net.jxta.share.
CMS
get(String)
- Method in class net.jxta.share.
MimeTable
Returns the MimeInfo object for the specified mime type, or null if not found.
getAction()
- Method in class net.jxta.share.
MimeInfo
Returns the default action for this mime type, or null if none.
getAdvertisement()
- Method in class net.jxta.share.
CMS
Returns the advertisment for the service.
getAll()
- Method in class net.jxta.share.
MimeTable
Returns an array of all the MimeInfo objects in this table.
getApplication()
- Method in class net.jxta.share.
MimeInfo
Returns the application launcher string for this mime type.
getApplicationCmdArray(String)
- Method in class net.jxta.share.
MimeInfo
Returns an array of strings that can be used with Runtime.exec() in order to launch the application appropriate for this mime type.
getBrowserApplication()
- Method in class net.jxta.share.
MimeTable
Returns the browser application launch string or null if none.
getBrowserCmdArray(String)
- Method in class net.jxta.share.
MimeTable
Returns an array of strings that can be used to launch the browser for the specified argument using Runtime.exec().
getCommandArray(String, String)
- Static method in class net.jxta.share.
MimeTable
Parses the specified command string into an array of strings appropriate for use with Runtime.exec().
getContent()
- Method in class net.jxta.share.
ContentManagerImpl
Returns all the shared Content.
getContent(ContentFilter)
- Method in class net.jxta.share.
ContentManagerImpl
Returns all the shared Content accepted by the specified ContentFilter.
getContent(ContentId)
- Method in class net.jxta.share.
ContentManagerImpl
Returns all the shared Content for the specified content id.
getContentManager()
- Method in class net.jxta.share.
CMS
Returns the Content Manager for this service.
getContentManager()
- Method in class net.jxta.share.
MessageProcessor
GetContentRequest
- class net.jxta.share.
GetContentRequest
.
This class implements Get Content Request.
GetContentRequest(PeerGroup, PipeAdvertisement, ContentId, File)
- Constructor for class net.jxta.share.
GetContentRequest
GetContentRequest(PeerGroup, PipeAdvertisement, PipeAdvertisement, ContentId, File)
- Constructor for class net.jxta.share.
GetContentRequest
getDefaultMimeTable()
- Static method in class net.jxta.share.
MimeTable
Returns default, platform-independent MimeTable.
getDescription()
- Method in class net.jxta.share.
MimeInfo
Returns the description for this mime type, or null if none.
getFile()
- Method in class net.jxta.share.
GetContentRequest
getFileExtensions()
- Method in class net.jxta.share.
MimeInfo
Returns the list of file extensions for this mime type, or null if none.
getForName(String)
- Method in class net.jxta.share.
MimeTable
Returns the MimeInfo for the specified file name, or null if not found.
getIcon()
- Method in class net.jxta.share.
MimeInfo
Returns the icon name for this mime type, or null if none.
getInterface()
- Method in class net.jxta.share.
CMS
Service objects are not manipulated directly to protect usage of the service.
GetMessageProcessor
- class net.jxta.share.
GetMessageProcessor
.
This class implements Get Message Processor.
GetMessageProcessor(CMS)
- Constructor for class net.jxta.share.
GetMessageProcessor
getMimeType(File)
- Method in class net.jxta.share.
ContentManagerImpl
Returns the mime type of the specified file, or null if unknown.
getPercentDone()
- Method in class net.jxta.share.
GetContentRequest
getPipe()
- Method in class net.jxta.share.
CMS
Returns the pipe service for this group.
getPipe()
- Method in class net.jxta.share.
MessageProcessor
getPipeAdvertisement()
- Method in class net.jxta.share.
MessageProcessor
getQueryParameters(Message)
- Method in class net.jxta.share.
ListMessageProcessor
getRequestPipe()
- Method in class net.jxta.share.
ListContentRequest
getRequestPipeAdvertisement()
- Method in class net.jxta.share.
CMS
Returns the request pipe advertisment for this service.
getResults()
- Method in class net.jxta.share.
ListContentRequest
getType()
- Method in class net.jxta.share.
MimeInfo
Returns the major type for this mime type.
H
hasFailed()
- Method in class net.jxta.share.
GetContentRequest
hashCode()
- Method in class net.jxta.share.
UUID
Returns the hash code value for this UUID.
hashCode()
- Method in class net.jxta.share.
ContentIdImpl
Returns the hash code for this content id.
I
init(PeerGroup, Advertisement)
- Method in class net.jxta.share.
CMS
Initialize the application passing it ist peer group handle.
isDone()
- Method in class net.jxta.share.
GetContentRequest
isDone()
- Method in class net.jxta.share.
ListContentRequest
isMatch(ContentAdvertisement)
- Method in class net.jxta.share.
ListMessageProcessor
L
LIST_REQUEST
- Static variable in class net.jxta.share.
CMS
LIST_RESULT
- Static variable in class net.jxta.share.
CMS
ListContentRequest
- class net.jxta.share.
ListContentRequest
.
This class implements List Content Request.
ListContentRequest(PeerGroup, PipeAdvertisement, PipeAdvertisement, String)
- Constructor for class net.jxta.share.
ListContentRequest
ListContentRequest(PeerGroup, PipeAdvertisement, String)
- Constructor for class net.jxta.share.
ListContentRequest
ListMessageProcessor
- class net.jxta.share.
ListMessageProcessor
.
This class implements List Message Processor.
ListMessageProcessor(CMS)
- Constructor for class net.jxta.share.
ListMessageProcessor
load(InputStream)
- Method in class net.jxta.share.
MimeTable
Loads mime types from the specified input stream.
M
main(String[])
- Static method in class net.jxta.test.
ContentManagerTest
main(String[])
- Static method in class net.jxta.test.
MimeTableTest
MESSAGE_TYPE
- Static variable in class net.jxta.share.
CMS
MessageProcessor
- class net.jxta.share.
MessageProcessor
.
The MessageProcessor class is the abstract parent of any class, such as ListMessageProcessor, which processes a queues of Messages for the ContentManagementService.
MessageProcessor(CMS)
- Constructor for class net.jxta.share.
MessageProcessor
MimeInfo
- class net.jxta.share.
MimeInfo
.
The MimeInfo class represents information about a specific mime type.
MimeInfo(String)
- Constructor for class net.jxta.share.
MimeInfo
Creates a new MimeInfo object for the specified mime type.
MimeTable
- class net.jxta.share.
MimeTable
.
This class is used to map file extensions to their corresponding MimeInfo objects.
MimeTable()
- Constructor for class net.jxta.share.
MimeTable
Creates a new empty MimeTable.
MimeTableTest
- class net.jxta.test.
MimeTableTest
.
N
notifyDone()
- Method in class net.jxta.share.
GetContentRequest
These notify methods are to be overridden by a subclass that wants to track the progress of the request
notifyDone()
- Method in class net.jxta.share.
ListContentRequest
notifyFailure()
- Method in class net.jxta.share.
GetContentRequest
notifyFailure()
- Method in class net.jxta.share.
ListContentRequest
notifyUpdate(int)
- Method in class net.jxta.share.
GetContentRequest
P
PIPE_ADV_FILENAME
- Static variable in class net.jxta.share.
CMS
PIPE_ADV_NAME
- Static variable in class net.jxta.share.
CMS
PIPE_ADVERTISEMENT
- Static variable in class net.jxta.share.
CMS
pipeTimeout
- Static variable in class net.jxta.share.
CMS
popString(Message, String)
- Static method in class net.jxta.share.
CMS
Returns the String contained in the given tag in the given Message.
process(Message)
- Method in class net.jxta.share.
GetMessageProcessor
process(Message)
- Method in class net.jxta.share.
ListMessageProcessor
process(Message)
- Method in class net.jxta.share.
MessageProcessor
push(Message)
- Method in class net.jxta.share.
MessageProcessor
put(MimeInfo)
- Method in class net.jxta.share.
MimeTable
Adds a new MimeInfo object to the table, replacing any previous mapping for the mime type.
Q
QUERY_SUBSTRING
- Static variable in class net.jxta.share.
CMS
R
remove(String)
- Method in class net.jxta.share.
MimeTable
Removes MimeInfo object corresponding to specified mime type.
REQUEST_ID
- Static variable in class net.jxta.share.
CMS
run()
- Method in class net.jxta.share.
GetContentRequest
run()
- Method in class net.jxta.share.
ListContentRequest
run()
- Method in class net.jxta.share.
MessageProcessor
run()
- Method in class net.jxta.test.
ContentManagerTest
run()
- Method in class net.jxta.test.
MimeTableTest
S
save(OutputStream)
- Method in class net.jxta.share.
MimeTable
Saves this MimeTable to the specified output stream.
setAction(String)
- Method in class net.jxta.share.
MimeInfo
Sets the default action for this mime type.
setApplication(String)
- Method in class net.jxta.share.
MimeInfo
Sets the application launcher string for this mime type.
setBrowserApplication(String)
- Method in class net.jxta.share.
MimeTable
Sets the browser application launch string.
setDescription(String)
- Method in class net.jxta.share.
MimeInfo
Sets the description for this mime type.
setFileExtensions(String[])
- Method in class net.jxta.share.
MimeInfo
Sets the list of file extensions for this mime type.
setIcon(String)
- Method in class net.jxta.share.
MimeInfo
Sets the icon name for this mime type.
setRandom(Random)
- Static method in class net.jxta.share.
UUID
Sets the default random number generator to use when creating new UUID's.
share(File, String, String, String)
- Method in class net.jxta.share.
ContentManagerImpl
Shares the specified file.
size()
- Method in class net.jxta.share.
MimeTable
Returns the number of MimeInfo objects stored in this table.
startApp(File)
- Method in class net.jxta.share.
CMS
Start the service with the given parameters.
startApp(String[])
- Method in class net.jxta.share.
CMS
Start the service with the given parameters.
stopApp()
- Method in class net.jxta.share.
CMS
Stops the service
T
toString()
- Method in class net.jxta.share.
MimeInfo
Returns a string representation of the mime type.
toString()
- Method in class net.jxta.share.
UUID
Returns the string specification of this UUID.
toString()
- Method in class net.jxta.share.
ContentIdImpl
Returns the string representation of this content id.
U
unshare(Content)
- Method in class net.jxta.share.
ContentManagerImpl
Unshares the specified Content object.
unshare(ContentAdvertisement)
- Method in class net.jxta.share.
ContentManagerImpl
Unshares the specified Content object.
UUID
- class net.jxta.share.
UUID
.
UUID implementation based on a psuedo-random number generator.
UUID()
- Constructor for class net.jxta.share.
UUID
Creates a new UUID using the default random number generator.
UUID(Random)
- Constructor for class net.jxta.share.
UUID
Creates a new UUID using the specified pseudo-random number generator.
UUID(String)
- Constructor for class net.jxta.share.
UUID
Creates a new UUID parse from the specified string.
A
C
D
E
G
H
I
L
M
N
P
Q
R
S
T
U
Class
Tree
Deprecated
Index
Help
JXTA
PREV NEXT
FRAMES
NO FRAMES