util
Class Tree
java.lang.Object
java.io.File
util.Tree
- All Implemented Interfaces:
- Serializable, Comparable<File>
public class Tree
- extends File
Class to provide some usefull File extensions.
- See Also:
- Serialized Form
| Methods inherited from class java.io.File |
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toString, toURI, toURL |
Tree
public Tree(File dir,
String name)
- Parameters:
dir - name -
Tree
public Tree(String path)
- Parameters:
path -
Tree
public Tree(String dir,
String name)
- Parameters:
dir - name -
getTreeFiles
public File[] getTreeFiles()
- Returns:
- File
getTreeFiles
public static File[] getTreeFiles(File dir)
- Parameters:
dir -
- Returns:
- File
main
public static void main(String[] arg)
- Parameters:
arg -