EAF 7.6 Util

com.lutris.classloader
Class RemoteZipResource

java.lang.Object
  extended by com.lutris.classloader.Resource
      extended by com.lutris.classloader.RemoteZipResource

public class RemoteZipResource
extends com.lutris.classloader.Resource

A Resource that is an entry in a specified zip file on a remote machine. The zip file is represented by a ClassPathEntry, and the filename is specified by a String.

Version:
$Revision : 1.1 $
Author:
Kristen Pol, Lutris Technologies
See Also:
MultiClassLoader, ClassPathEntry, Resource, File

Field Summary
 
Fields inherited from class com.lutris.classloader.Resource
lastModifiedTime, location, logChannel, loggingEnabled, logLevel, name, size
 
Method Summary
 long getCurrentLastModifiedTime()
          Get current last-modification time of resource.
 java.io.InputStream getInputStream()
          Gets the specified resource as an input stream.
 
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

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Gets the specified resource as an input stream.

Specified by:
getInputStream in class com.lutris.classloader.Resource
Returns:
an InputStream representing the specified resource.
Throws:
an - IOException
java.io.IOException

getCurrentLastModifiedTime

public long getCurrentLastModifiedTime()
Get current last-modification time of resource. This is the time on the disk file the resource is associated with.

Specified by:
getCurrentLastModifiedTime in class com.lutris.classloader.Resource
Returns:
the last-modified time of the permanent copy of the resource in milliseconds.

EAF 7.6 Util