public static class ClassFileLocator.ForFolder extends Object implements ClassFileLocator
<classname>.class files
 within their package folder.ClassFileLocator.AgentBased, ClassFileLocator.Compound, ClassFileLocator.ForClassLoader, ClassFileLocator.ForFolder, ClassFileLocator.ForJarFile, ClassFileLocator.ResolutionCLASS_FILE_EXTENSION| Constructor and Description | 
|---|
| ForFolder(File folder)Creates a new class file locator for a folder structure of class files. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object other) | 
| int | hashCode() | 
| ClassFileLocator.Resolution | locate(String typeName)Locates the class file for a given type and returns the binary data of the class file. | 
| String | toString() | 
public ForFolder(File folder)
folder - The base folder of the package structure.public ClassFileLocator.Resolution locate(String typeName) throws IOException
ClassFileLocatorlocate in interface ClassFileLocatortypeName - The name of the type to locate a class file representation for.IOException - If reading a class file causes an error.Copyright © 2014–2015. All rights reserved.