edu.sdsc.inca.repository
Class ReporterPackage

java.lang.Object
  extended byedu.sdsc.inca.repository.ReporterPackage

public class ReporterPackage
extends java.lang.Object

The ReporterPackage class provides access to a single reporter package. Typically these packages will be taken from an Inca reporter repository, but the interface allows the manipulation of of stand-alone packages as well.


Constructor Summary
ReporterPackage(java.net.URL url)
          Instantiates a new ReporterPackage located via url.
 
Method Summary
 java.util.Properties getProperties()
          Returns the set of properties that describes the reporter package--a superset of the properties stored for the package in a repository.
 java.util.zip.GZIPInputStream getReporterStream()
          Returns an input stream from which the package gzip file may be read.
 java.lang.String getSignature()
          Returns the package signature, used to verify the contents of the package gzip file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReporterPackage

public ReporterPackage(java.net.URL url)
                throws java.io.IOException
Instantiates a new ReporterPackage located via url.

Parameters:
url - base URL for repository; file:, ftp:, http: supported
Method Detail

getProperties

public java.util.Properties getProperties()
Returns the set of properties that describes the reporter package--a superset of the properties stored for the package in a repository.


getReporterStream

public java.util.zip.GZIPInputStream getReporterStream()
Returns an input stream from which the package gzip file may be read.


getSignature

public java.lang.String getSignature()
Returns the package signature, used to verify the contents of the package gzip file.