Package hu.webarticum.treeprinter.fs
Class FsTreeNode
- java.lang.Object
-
- hu.webarticum.treeprinter.AbstractTreeNode
-
- hu.webarticum.treeprinter.fs.FsTreeNode
-
- All Implemented Interfaces:
TreeNode
public class FsTreeNode extends AbstractTreeNode
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.Comparator<java.io.File>DEFAULT_COMPARATORstatic java.io.FileFilterDEFAULT_FILE_FILTER
-
Constructor Summary
Constructors Constructor Description FsTreeNode()FsTreeNode(java.io.File file)FsTreeNode(java.io.File file, java.io.FileFilter filter, java.util.Comparator<java.io.File> comparator, boolean decorable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<TreeNode>getChildren()java.lang.StringgetContent()java.io.FilegetFile()booleanisDecorable()-
Methods inherited from class hu.webarticum.treeprinter.AbstractTreeNode
equals, getInsets, getOriginalNode, hashCode, toString
-
-
-
-
Method Detail
-
getFile
public java.io.File getFile()
-
getContent
public java.lang.String getContent()
-
getChildren
public java.util.List<TreeNode> getChildren()
-
isDecorable
public boolean isDecorable()
- Specified by:
isDecorablein interfaceTreeNode- Overrides:
isDecorablein classAbstractTreeNode
-
-