org.apache.tools.ant.taskdefs.optional.ssh
Class Directory
java.lang.Object
|
+--org.apache.tools.ant.taskdefs.optional.ssh.Directory
- public class Directory
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Directory
public Directory(java.io.File directory)
Directory
public Directory(java.io.File directory,
Directory parent)
addDirectory
public void addDirectory(Directory directory)
addFile
public void addFile(java.io.File file)
directoryIterator
public java.util.Iterator directoryIterator()
filesIterator
public java.util.Iterator filesIterator()
getParent
public Directory getParent()
isRoot
public boolean isRoot()
getDirectory
public java.io.File getDirectory()
getChild
public Directory getChild(java.io.File dir)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getPath
public java.lang.String[] getPath()
getPath
public static java.lang.String[] getPath(java.lang.String thePath)
fileSize
public int fileSize()
Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.