|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileSystem
| Field Summary | |
|---|---|
static String |
FSInfo_Description
|
static String |
FSInfo_HasFreeSpaceInformation
|
static String |
FSInfo_HasSizeInformation
|
static String |
FSInfo_Name
|
static String |
FSInfo_Version
|
| Method Summary | |
|---|---|
void |
close()
|
long |
getFreeSpace()
Retrieves the free space available. |
Map |
getInfo()
Retrieves a list of information about the filesystem. |
String |
getName()
Retrieves the name of the filesystem. |
Node |
getNode(String path)
|
Directory |
getRoot()
Retrieves the root directory of the filesystem. |
long |
getSize()
Retrieves the size of the filesystem in bytes. |
| Field Detail |
|---|
static final String FSInfo_Name
static final String FSInfo_Description
static final String FSInfo_Version
static final String FSInfo_HasSizeInformation
static final String FSInfo_HasFreeSpaceInformation
| Method Detail |
|---|
String getName()
Map getInfo()
Directory getRoot()
throws FileNotFoundException
FileNotFoundException - Thrown if the root directory could not be found.long getSize()
getInfo(). The key to use for retrieveal is FSInfo_HasSizeInformationlong getFreeSpace()
getInfo(). The key to use for retrieveal is FSInfo_HasFreeSpaceInformation.
Node getNode(String path)
throws FileNotFoundException
FileNotFoundException
void close()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||