|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisidia.misc.FileHandler
public class FileHandler
This class manages a unique file handler.
Method Summary | |
---|---|
static FileHandler |
getInstance()
Gets the single instance of FileHandler. |
static java.lang.String |
getRootDirectory(java.lang.String pathToReach)
Gets the root directory. |
java.io.File |
searchFile(java.lang.String name)
Searches a file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static FileHandler getInstance()
public java.io.File searchFile(java.lang.String name)
name
- the name
public static java.lang.String getRootDirectory(java.lang.String pathToReach)
pathToReach
- the path to reach
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |