|
|||||||||
| Home >> All >> com >> lutris >> [ classloader overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.lutris.classloader
Class LocalZipResource

java.lang.Objectcom.lutris.classloader.Resource
com.lutris.classloader.LocalZipResource
- public class LocalZipResource
- extends Resource
A Resource that is an entry in
a specified zip file on the local machine. The zip file is represented by a
ClassPathEntry, and the filename is specified by a String.
- Version:
- $Revision : 1.1 $
| Field Summary | |
private java.util.zip.ZipEntry |
zipEntry
The ZipEntry that represents this resource. |
| Fields inherited from class com.lutris.classloader.Resource |
lastModifiedTime, location, logChannel, loggingEnabled, logLevel, name, size |
| Constructor Summary | |
protected |
LocalZipResource(java.lang.String name,
ClassPathEntry location,
com.lutris.logging.LogChannel loadLogChannel)
Constructs local zip file resource with specified name and location. |
| 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 |
| Field Detail |
zipEntry
private java.util.zip.ZipEntry zipEntry
- The ZipEntry that represents this resource.
| Constructor Detail |
LocalZipResource
protected LocalZipResource(java.lang.String name, ClassPathEntry location, com.lutris.logging.LogChannel loadLogChannel) throws java.io.FileNotFoundException
- Constructs local zip file resource with specified name and location.
| Method Detail |
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException
- Gets input stream representing resource.
- Specified by:
getInputStreamin classResource
getCurrentLastModifiedTime
public long getCurrentLastModifiedTime()
throws java.io.FileNotFoundException
- Get current last-modification time of resource. This is the
time on the disk file the resource is associated with.
- Specified by:
getCurrentLastModifiedTimein classResource
|
|||||||||
| Home >> All >> com >> lutris >> [ classloader overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC