Package org.apache.jackrabbit.vault.cli
Class VaultFsCFile
- java.lang.Object
-
- org.apache.jackrabbit.vault.cli.VaultFsCFile
-
- All Implemented Interfaces:
ConsoleFile
public class VaultFsCFile extends Object implements ConsoleFile
OsWorkObject
...
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.vault.util.console.ConsoleFile
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description VaultFsCFile(VaultFile 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
-
VaultFsCFile
public VaultFsCFile(VaultFile file)
-
-
Method Detail
-
unwrap
public Object unwrap()
- Specified by:
unwrap
in interfaceConsoleFile
-
getPath
public String getPath()
- Specified by:
getPath
in interfaceConsoleFile
-
getFile
public ConsoleFile getFile(String path, boolean mustExist) throws IOException
- Specified by:
getFile
in interfaceConsoleFile
- Throws:
IOException
-
listFiles
public ConsoleFile[] listFiles() throws IOException
- Specified by:
listFiles
in interfaceConsoleFile
- Throws:
IOException
-
allowsChildren
public boolean allowsChildren()
- Specified by:
allowsChildren
in interfaceConsoleFile
-
getName
public String getName()
- Specified by:
getName
in interfaceConsoleFile
-
-