org.crsh.cli.completers
Class FileCompleter
java.lang.Object
org.crsh.cli.completers.AbstractPathCompleter<File>
org.crsh.cli.completers.FileCompleter
- All Implemented Interfaces:
- Completer
-
public class FileCompleter
- extends AbstractPathCompleter<File>
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileCompleter
public FileCompleter()
getCurrentPath
protected String getCurrentPath()
throws Exception
-
- Specified by:
getCurrentPath
in class AbstractPathCompleter<File>
-
- Throws:
Exception
getPath
protected File getPath(String path)
-
- Specified by:
getPath
in class AbstractPathCompleter<File>
-
exists
protected boolean exists(File path)
-
- Specified by:
exists
in class AbstractPathCompleter<File>
-
isDirectory
protected boolean isDirectory(File path)
-
- Specified by:
isDirectory
in class AbstractPathCompleter<File>
-
isFile
protected boolean isFile(File path)
-
- Specified by:
isFile
in class AbstractPathCompleter<File>
-
getChilren
protected Collection<File> getChilren(File path)
-
- Specified by:
getChilren
in class AbstractPathCompleter<File>
-
getName
protected String getName(File path)
-
- Specified by:
getName
in class AbstractPathCompleter<File>
-
Copyright © 2015 eXo Platform SAS. All Rights Reserved.