Package org.apache.commons.vfs.util
Class FileObjectUtils
java.lang.Object
org.apache.commons.vfs.util.FileObjectUtils
Stuff to get some strange things from an FileObject
- Version:
- $Revision: 480428 $ $Date: 2006-11-29 07:15:24 +0100 (Wed, 29 Nov 2006) $
- Author:
- Mario Ivankovits
-
Method Summary
Modifier and TypeMethodDescriptionstatic AbstractFileObjectgetAbstractFileObject(FileObject fileObject) get access to the base object even if decoratedstatic booleanisInstanceOf(FileObject fileObject, Class wantedClass) check if the given FileObject is instance of given class argument
-
Method Details
-
getAbstractFileObject
public static AbstractFileObject getAbstractFileObject(FileObject fileObject) throws FileSystemException get access to the base object even if decorated- Throws:
FileSystemException
-
isInstanceOf
public static boolean isInstanceOf(FileObject fileObject, Class wantedClass) throws FileSystemException check if the given FileObject is instance of given class argument- Throws:
FileSystemException
-