Jadex 0.96-beta1

jadex.util
Class ResourceInfo

java.lang.Object
  extended by jadex.util.ResourceInfo

public class ResourceInfo
extends Object

Info for a resource to load.


Constructor Summary
ResourceInfo(String filename, InputStream input, long lastmodified)
          Create a new resource info.
 
Method Summary
 void cleanup()
          Cleanup the resource info when it is no longer used.
 String getFilename()
          Get the filename.
 InputStream getInputStream()
          Get the input stream.
 long getLastModified()
          Get the last modified date.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceInfo

public ResourceInfo(String filename,
                    InputStream input,
                    long lastmodified)
Create a new resource info.

Method Detail

getFilename

public String getFilename()
Get the filename.

Returns:
The filename.

getInputStream

public InputStream getInputStream()
Get the input stream.

Returns:
The input stream.

getLastModified

public long getLastModified()
Get the last modified date.

Returns:
The last modified date.

cleanup

public void cleanup()
Cleanup the resource info when it is no longer used.


Jadex 0.96-beta1

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.