|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sharpster.common.FileCollection
A collection of File objects. The class is used both by modules in the local client and in the daemon.
Constructor Summary | |
FileCollection()
|
Method Summary | |
void |
addFile(sharpster.common.SharedFile file)
Adds a new File object to the collection. |
void |
appendCollection(sharpster.common.FileCollection collection)
Appends a FileCollection to this collection. |
sharpster.common.FileCollection |
createDuplicate()
|
sharpster.common.SharedFile |
getFile(int index)
Returns a specified file. |
int |
getFileCount()
Returns the number of File objects in the collection. |
void |
removeAllFiles()
Removes all files from the collection. |
void |
removeAllPluginData()
Removes all plugin data from the files, used to prepare the file to be transported to a remote user. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FileCollection()
Method Detail |
public int getFileCount()
public void removeAllFiles()
public void addFile(sharpster.common.SharedFile file)
public void appendCollection(sharpster.common.FileCollection collection)
public sharpster.common.FileCollection createDuplicate()
public void removeAllPluginData()
public sharpster.common.SharedFile getFile(int index)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |