org.webtree.data
Class FileSystemData

java.lang.Object
  |
  +--org.webtree.data.BaseTreeData
        |
        +--org.webtree.data.FileSystemData
All Implemented Interfaces:
TreeData

public class FileSystemData
extends BaseTreeData


Field Summary
protected  java.lang.String basePathStr
           
 
Fields inherited from class org.webtree.data.BaseTreeData
root
 
Constructor Summary
FileSystemData()
          Constructs object with root of file system
FileSystemData(java.lang.String basePathStr)
          Constructs object with baseLocation
 
Method Summary
 TreeNode getRoot()
          fulfills constract with TreeData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

basePathStr

protected java.lang.String basePathStr
Constructor Detail

FileSystemData

public FileSystemData()
Constructs object with root of file system


FileSystemData

public FileSystemData(java.lang.String basePathStr)
Constructs object with baseLocation

Method Detail

getRoot

public TreeNode getRoot()
fulfills constract with TreeData

Specified by:
getRoot in interface TreeData
Overrides:
getRoot in class BaseTreeData
Returns:
TreeNode which is root node of data