org.apache.tools.ant.taskdefs.optional.ssh

Class Directory


public class Directory
extends java.lang.Object

Constructor Summary

Directory(File directory)
Directory(File directory, Directory parent)

Method Summary

void
addDirectory(Directory directory)
void
addFile(File file)
Iterator
directoryIterator()
boolean
equals(Object obj)
int
fileSize()
Iterator
filesIterator()
Directory
getChild(File dir)
File
getDirectory()
Directory
getParent()
String[]
getPath()
static String[]
getPath(String thePath)
int
hashCode()
boolean
isRoot()

Constructor Details

Directory

public Directory(File directory)

Directory

public Directory(File directory,
                 Directory parent)

Method Details

addDirectory

public void addDirectory(Directory directory)

addFile

public void addFile(File file)

directoryIterator

public Iterator directoryIterator()

equals

public boolean equals(Object obj)

fileSize

public int fileSize()

filesIterator

public Iterator filesIterator()

getChild

public Directory getChild(File dir)

getDirectory

public File getDirectory()

getParent

public Directory getParent()

getPath

public String[] getPath()

getPath

public static String[] getPath(String thePath)

hashCode

public int hashCode()

isRoot

public boolean isRoot()

Copyright B) 2000-2008 Apache Software Foundation. All Rights Reserved.