|
DODS 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.lutris.classloader.Resource | +--com.lutris.classloader.RemoteDirResource
A Resource
that is a file on a remote machine in
a specified directory. The directory is represented by a
ClassPathEntry
, and the filename is specified by a String.
MultiClassLoader
,
ClassPathEntry
,
Resource
,
File
Field Summary |
Fields inherited from class com.lutris.classloader.Resource |
lastModifiedTime, location, logger, loggingEnabled, logLevel, name, size |
Method Summary | |
long |
getCurrentLastModifiedTime()
Get current last-modification time of resource. |
java.io.InputStream |
getInputStream()
Gets input stream representing resource. |
Methods inherited from class com.lutris.classloader.Resource |
equals, getBytes, getLastModifiedTime, getLocation, getName, getSize, getTime, hasBeenModified, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public java.io.InputStream getInputStream() throws java.io.IOException
Resource
This method is abstract and must be implemented by all subclasses.
The getBytes
method also depends upon this implementation.
getInputStream
in class Resource
java.io.IOException
- if the input stream can not be constructed.public long getCurrentLastModifiedTime()
getCurrentLastModifiedTime
in class Resource
|
DODS 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |