|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.vfs2.util.FileObjectUtils
public final class FileObjectUtils
Stuff to get some strange things from an FileObject.
| Method Summary | |
|---|---|
static AbstractFileObject |
getAbstractFileObject(FileObject fileObject)
Get access to the base object even if decorated. |
static boolean |
isInstanceOf(FileObject fileObject,
Class<?> wantedClass)
Check if the given FileObject is instance of given class argument. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AbstractFileObject getAbstractFileObject(FileObject fileObject)
throws FileSystemException
fileObject - The FileObject.
FileSystemException - if an error occurs.
public static boolean isInstanceOf(FileObject fileObject,
Class<?> wantedClass)
throws FileSystemException
fileObject - The FileObject.wantedClass - The Class to check.
FileSystemException - if an error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||