|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.vfs.FileType
An enumerated type that represents a file's type.
Field Summary | |
static FileType |
FILE
A regular file. |
static FileType |
FILE_OR_FOLDER
A file or folder. |
static FileType |
FOLDER
A folder. |
static FileType |
IMAGINARY
A file that does not exist. |
Method Summary | |
String |
getName()
Returns the name of this type. |
boolean |
hasAttributes()
Returns true if files of this type may have attributes. |
boolean |
hasChildren()
Returns true if files of this type may contain other files. |
boolean |
hasContent()
Returns true if files of this type may have data content. |
String |
toString()
Returns the name of this type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final FileType FOLDER
public static final FileType FILE
public static final FileType FILE_OR_FOLDER
public static final FileType IMAGINARY
Method Detail |
public String toString()
public String getName()
public boolean hasChildren()
public boolean hasContent()
public boolean hasAttributes()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |