Package org.apache.commons.vfs.util
Class FileObjectUtils
- java.lang.Object
-
- org.apache.commons.vfs.util.FileObjectUtils
-
public class FileObjectUtils extends java.lang.Object
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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractFileObject
getAbstractFileObject(FileObject fileObject)
get access to the base object even if decoratedstatic boolean
isInstanceOf(FileObject fileObject, java.lang.Class wantedClass)
check if the given FileObject is instance of given class argument
-
-
-
Method Detail
-
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, java.lang.Class wantedClass) throws FileSystemException
check if the given FileObject is instance of given class argument- Throws:
FileSystemException
-
-