at.dms.classfile
Class DirClassDirectory

java.lang.Object
  |
  +--at.dms.classfile.ClassDirectory
        |
        +--at.dms.classfile.DirClassDirectory

class DirClassDirectory
extends ClassDirectory

An implementation of a conceptual directory which holds Java class files, using a file system directory.


Constructor Summary
DirClassDirectory(java.io.File dir)
          Constructs a class directory representing a real directory.
 
Method Summary
 ClassDescription getClassFile(java.lang.String name)
          Returns a ClassDescription object that can give the data of the classfile for the named class.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirClassDirectory

public DirClassDirectory(java.io.File dir)
Constructs a class directory representing a real directory.
Method Detail

getClassFile

public ClassDescription getClassFile(java.lang.String name)
Returns a ClassDescription object that can give the data of the classfile for the named class.
Overrides:
getClassFile in class ClassDirectory
Parameters:
name - The name of the class, using '/'-es instead of dots in the package name part, but does NOT have ".class" at the end of the class name.
Returns:
Returns a ClassDescription object that can give the data of the classfile for the named class. If the named class cannot be found in this directory, this method returns null.