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 booleanallowsChildren()ConsoleFilegetFile(String path, boolean mustExist)StringgetName()StringgetPath()ConsoleFile[]listFiles()Objectunwrap()
-
-
-
Constructor Detail
-
RepositoryCFile
public RepositoryCFile(Item item)
-
-
Method Detail
-
unwrap
public Object unwrap()
- Specified by:
unwrapin interfaceConsoleFile
-
getPath
public String getPath()
- Specified by:
getPathin interfaceConsoleFile
-
getFile
public ConsoleFile getFile(String path, boolean mustExist) throws IOException
- Specified by:
getFilein interfaceConsoleFile- Throws:
IOException
-
listFiles
public ConsoleFile[] listFiles() throws IOException
- Specified by:
listFilesin interfaceConsoleFile- Throws:
IOException
-
allowsChildren
public boolean allowsChildren()
- Specified by:
allowsChildrenin interfaceConsoleFile
-
getName
public String getName()
- Specified by:
getNamein interfaceConsoleFile
-
-