jlibs.core.graph
Class Navigator2<E>

java.lang.Object
  extended by jlibs.core.graph.Ladder<E>
      extended by jlibs.core.graph.Navigator2<E>
All Implemented Interfaces:
Navigator<E>
Direct Known Subclasses:
FileNavigator

public abstract class Navigator2<E>
extends Ladder<E>
implements Navigator<E>

Author:
Santhosh Kumar T

Constructor Summary
Navigator2()
           
 
Method Summary
 String getRelativePath(E fromElem, E toElem, Convertor<E,String> convertor, String separator, boolean predicates)
           
 E resolve(E node, String path, Convertor<E,String> convertor, String separator)
           
 
Methods inherited from class jlibs.core.graph.Ladder
getAncestor, getHeight, getHeight, getParent, getPath, getRelativePath, getRoot, getSharedAncestor, isAncestor, isRelated, parent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jlibs.core.graph.Navigator
children
 

Constructor Detail

Navigator2

public Navigator2()
Method Detail

getRelativePath

public String getRelativePath(E fromElem,
                              E toElem,
                              Convertor<E,String> convertor,
                              String separator,
                              boolean predicates)

resolve

public E resolve(E node,
                 String path,
                 Convertor<E,String> convertor,
                 String separator)


Copyright © 2018. All rights reserved.