Package org.apache.jackrabbit.vault.cli
Class RepositoryCFile
- java.lang.Object
-
- org.apache.jackrabbit.vault.cli.RepositoryCFile
-
- All Implemented Interfaces:
ConsoleFile
public class RepositoryCFile extends Object implements ConsoleFile
RepositoryWorkObject
...
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.vault.util.console.ConsoleFile
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description RepositoryCFile(Item item)
-
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
-
RepositoryCFile
public RepositoryCFile(Item item)
-
-
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
-
-