Class DirectoryResourceCreator
- java.lang.Object
-
- org.codehaus.commons.compiler.util.resource.FileResourceCreator
-
- org.codehaus.commons.compiler.util.resource.DirectoryResourceCreator
-
- All Implemented Interfaces:
ResourceCreator
public class DirectoryResourceCreator extends FileResourceCreator
Creates a resource in a given directory:destinationDirectory/resourceName
-
-
Constructor Summary
Constructors Constructor Description DirectoryResourceCreator(java.io.File destinationDirectory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.io.File
getFile(java.lang.String resourceName)
-
Methods inherited from class org.codehaus.commons.compiler.util.resource.FileResourceCreator
createResource, deleteResource
-
-
-
-
Method Detail
-
getFile
protected final java.io.File getFile(java.lang.String resourceName)
- Specified by:
getFile
in classFileResourceCreator
- Returns:
- The file into which the contents is written
-
-