|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.janino.util.resource.ResourceFinder
org.codehaus.janino.util.resource.FileResourceFinder
public abstract class FileResourceFinder
This class specializes the ResourceFinder
for finding resources in Files.
It finds FileResources instead of simple
Resources.
| Field Summary |
|---|
| Fields inherited from class org.codehaus.janino.util.resource.ResourceFinder |
|---|
EMPTY_RESOURCE_FINDER |
| Constructor Summary | |
|---|---|
FileResourceFinder()
|
|
| Method Summary | |
|---|---|
Resource |
findResource(java.lang.String resourceName)
Find a resource by name and return it as a Resource object. |
protected abstract java.io.File |
findResourceAsFile(java.lang.String resourceName)
Converts a given resource resource name into a File. |
| Methods inherited from class org.codehaus.janino.util.resource.ResourceFinder |
|---|
findResourceAsStream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileResourceFinder()
| Method Detail |
|---|
public final Resource findResource(java.lang.String resourceName)
ResourceFinderResource object.
findResource in class ResourceFinderresourceName - Designates the resource; typically structured by slashes ("/") like
"com/foo/pkg/Bar.class"
null if the resource could not be foundprotected abstract java.io.File findResourceAsFile(java.lang.String resourceName)
File.
|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||