org.crsh.util
Class JNDIHandler.JNDICompleter

java.lang.Object
  extended by org.crsh.cli.completers.AbstractPathCompleter<String>
      extended by org.crsh.util.JNDIHandler.JNDICompleter
All Implemented Interfaces:
Completer
Enclosing class:
JNDIHandler

public static class JNDIHandler.JNDICompleter
extends AbstractPathCompleter<String>


Field Summary
private  List<BindingRenderable.BindingData> bindings
           
private  String[] filters
           
 
Constructor Summary
JNDIHandler.JNDICompleter(String... filters)
           
 
Method Summary
protected  boolean exists(String path)
           
protected  Collection<String> getChilren(String path)
           
protected  String getCurrentPath()
           
protected  String getName(String path)
           
protected  String getPath(String path)
           
protected  boolean isDirectory(String path)
           
protected  boolean isFile(String path)
           
 
Methods inherited from class org.crsh.cli.completers.AbstractPathCompleter
complete
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filters

private final String[] filters

bindings

private List<BindingRenderable.BindingData> bindings
Constructor Detail

JNDIHandler.JNDICompleter

public JNDIHandler.JNDICompleter(String... filters)
Method Detail

getCurrentPath

protected String getCurrentPath()
Specified by:
getCurrentPath in class AbstractPathCompleter<String>

getPath

protected String getPath(String path)
Specified by:
getPath in class AbstractPathCompleter<String>

exists

protected boolean exists(String path)
Specified by:
exists in class AbstractPathCompleter<String>

isDirectory

protected boolean isDirectory(String path)
Specified by:
isDirectory in class AbstractPathCompleter<String>

isFile

protected boolean isFile(String path)
Specified by:
isFile in class AbstractPathCompleter<String>

getChilren

protected Collection<String> getChilren(String path)
Specified by:
getChilren in class AbstractPathCompleter<String>

getName

protected String getName(String path)
Specified by:
getName in class AbstractPathCompleter<String>


Copyright © 2014 eXo Platform SAS. All Rights Reserved.