org.apache.commons.classscan.builtin
Class FileClassFile

java.lang.Object
  extended by org.apache.commons.classscan.builtin.FileResourceFile
      extended by org.apache.commons.classscan.builtin.FileClassFile
All Implemented Interfaces:
ClassFile, ResourceFile

public class FileClassFile
extends FileResourceFile
implements ClassFile


Constructor Summary
FileClassFile(File location, String relativePath)
           
 
Method Summary
 String getClassName()
          Get the name of the class
 
Methods inherited from class org.apache.commons.classscan.builtin.FileResourceFile
getBytes, getFileName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.commons.classscan.ResourceFile
getBytes, getFileName
 

Constructor Detail

FileClassFile

public FileClassFile(File location,
                     String relativePath)
Method Detail

getClassName

public String getClassName()
Description copied from interface: ClassFile
Get the name of the class

Specified by:
getClassName in interface ClassFile
Returns:
The canonical class name; or null, if not a valid class


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.