@HashCodeAndEqualsPlugin.Enhance 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.ForModule, ClassFileLocator.ForModuleFile, ClassFileLocator.NoOp, ClassFileLocator.PackageDiscriminating, ClassFileLocator.Resolution, ClassFileLocator.SimpleCLASS_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 | 
|---|---|
| void | close() | 
| ClassFileLocator.Resolution | locate(String typeName)Locates the class file for a given type and returns the binary data of the class file. | 
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.public void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2014–2018. All rights reserved.