Class PlatformFile
- java.lang.Object
-
- org.apache.jackrabbit.vault.util.console.platform.PlatformFile
-
- All Implemented Interfaces:
ConsoleFile
public class PlatformFile extends Object implements ConsoleFile
PlatformFile
...
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.vault.util.console.ConsoleFile
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description PlatformFile(File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allowsChildren()
ConsoleFile
getFile(String path, boolean mustExist)
String
getName()
String
getPath()
ConsoleFile[]
listFiles()
Object
unwrap()
-
-
-
Constructor Detail
-
PlatformFile
public PlatformFile(File file)
-
-
Method Detail
-
unwrap
public Object unwrap()
- Specified by:
unwrap
in interfaceConsoleFile
-
getFile
public ConsoleFile getFile(String path, boolean mustExist) throws IOException
- Specified by:
getFile
in interfaceConsoleFile
- Throws:
IOException
-
getPath
public String getPath()
- Specified by:
getPath
in interfaceConsoleFile
-
getName
public String getName()
- Specified by:
getName
in interfaceConsoleFile
-
listFiles
public ConsoleFile[] listFiles() throws IOException
- Specified by:
listFiles
in interfaceConsoleFile
- Throws:
IOException
-
allowsChildren
public boolean allowsChildren()
- Specified by:
allowsChildren
in interfaceConsoleFile
-
-