jlibs.core.io
Class FileNavigator
java.lang.Object
jlibs.core.graph.Ladder<E>
jlibs.core.graph.Navigator2<File>
jlibs.core.io.FileNavigator
- All Implemented Interfaces:
- Convertor<File,String>, Navigator<File>
public class FileNavigator
- extends Navigator2<File>
- implements Convertor<File,String>
- Author:
- Santhosh Kumar T
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final FileNavigator INSTANCE
FileNavigator
public FileNavigator(FileFilter filter)
parent
public File parent(File elem)
- Specified by:
parent in class Ladder<File>
children
public Sequence<? extends File> children(File elem)
- Specified by:
children in interface Navigator<File>
convert
public String convert(File source)
- Specified by:
convert in interface Convertor<File,String>
getRelativePath
public String getRelativePath(File fromFile,
File toFile)
Copyright © 2018. All rights reserved.