|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpeer2me.util.FileHandler
public class FileHandler
This class is used to store information about the mobile
phone's receive-folder. This is done by getting the phone's
root directories using getRootDirectories()
, and adding the given prefic
Method Summary | |
---|---|
static FileHandler |
getInstance()
Gets a reference FileHandler using singelton |
java.lang.String |
getReceivedFilesFolder()
Gets the path to the folder where received files are stored |
void |
setReceivedFilesFolder(java.lang.String receivedFilesFolder)
Sets a default folder where received files are stored according to the input. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static FileHandler getInstance()
public java.lang.String getReceivedFilesFolder()
public void setReceivedFilesFolder(java.lang.String receivedFilesFolder)
receivedFilesFolder
- the folder where received files are stored.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |