org.codehaus.commons.compiler.util.resource.ResourceFinder , can be open()ed for reading, and optionally
has a lastModified() property.
There also exists a org. concept which opens a
resource for writing, but that happens directly and not through an intermediate Resource object.
org.codehaus.commons.compiler.util.resource.ResourceFinder , org.codehaus.commons.compiler.util.resource.ResourceCreator
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public long | lastModified()
Returns the time of the last modification, in milliseconds since 1970, or |
| public InputStream |
| getFileName | back to summary |
|---|---|
| public String getFileName() Returns a decorative "file name" that can be used for reporting errors and the like. It does not necessarily map to a file in the local file system! | |
| lastModified | back to summary |
|---|---|
| public long lastModified() Returns the time of the last modification, in milliseconds since 1970, or | |
| open | back to summary |
|---|---|
| public InputStream open() throws IOException Opens the resource. The caller is responsible for closing the | |