com.jgoodies.jdiskreport.domain
Class Directory

java.lang.Object
  extended by com.jgoodies.jdiskreport.domain.Directory
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Root

public class Directory
extends Object
implements Serializable

Describes directories.

Version:
$Revision: 1.6 $
Author:
Karsten Lentzsch
See Also:
Serialized Form

Constructor Summary
Directory(String name)
           
Directory(String name, Directory[] directories, FileInfo[] files)
          Constructs a DirectoryNode for the given name, size, the children, and the size and count of the tree starting at this node.
 
Method Summary
 Directory[] getDirectories()
           
 FileInfo[] getFiles()
           
 boolean getIllegalAccess()
           
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Directory

public Directory(String name,
                 Directory[] directories,
                 FileInfo[] files)
Constructs a DirectoryNode for the given name, size, the children, and the size and count of the tree starting at this node. Sets this node as parent for all its children.


Directory

public Directory(String name)
Method Detail

getName

public String getName()

getDirectories

public Directory[] getDirectories()

getFiles

public FileInfo[] getFiles()

getIllegalAccess

public boolean getIllegalAccess()


Copyright © 2000-2008 JGoodies Karsten Lentzsch. All Rights Reserved.