Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

org.evolvica.util
Class Directory

java.lang.Object
  extended byjava.io.File
      extended byorg.evolvica.util.Directory
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class Directory
extends java.io.File

Class for a directory. This is just a helper to differentiate between files and directories. Use this class for operator properties that are directories. Use a normal File instance for regular files.

Since:
0.5.0
Version:
$Revision: 1.5 $ $Date: 2004/05/26 11:58:36 $
Author:
Andreas Rummler
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
 
Constructor Summary
Directory(java.lang.String pathname)
          Constructor.
Directory(java.net.URI uri)
          Constructor.
 
Methods inherited from class java.io.File
canRead, canWrite, compareTo, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getName, getParent, getParentFile, getPath, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setLastModified, setReadOnly, toString, toURI, toURL
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Directory

public Directory(java.lang.String pathname)
Constructor.

Parameters:
pathname - directory path
Throws:
java.lang.IllegalArgumentException - thrown in case the path is not a directory

Directory

public Directory(java.net.URI uri)
Constructor.

Parameters:
uri - path URI
Throws:
java.lang.IllegalArgumentException - thrown in case the path is not a directory

Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

Copyright © 2000-2004 Technical University of Ilmenau, Department Electronic Circuits and Systems