abstract class AbstractFileResource extends java.lang.Object implements FileResource
| Constructor and Description |
|---|
AbstractFileResource() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExecute() |
int |
errno() |
java.io.InputStream |
inputStream()
Opens a new input stream to read the contents of a resource and returns it.
|
(package private) abstract java.io.InputStream |
openInputStream() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabsolutePath, canonicalPath, canRead, canWrite, exists, hackyGetJRubyFile, isDirectory, isFile, isSymLink, lastModified, length, list, lstat, openDescriptor, statpublic boolean canExecute()
canExecute in interface FileResourcepublic int errno()
errno in interface FileResourcepublic java.io.InputStream inputStream()
throws ResourceException
FileResourceinputStream in interface FileResourceResourceException - is the file does not exists or if the resource is a directoryabstract java.io.InputStream openInputStream()
throws java.io.IOException
java.io.IOException