org.systemsbiology.jrap.stax
Class ParentFile

java.lang.Object
  extended by org.systemsbiology.jrap.stax.ParentFile

public class ParentFile
extends java.lang.Object

The ParentFile class contains information about parent files of an mzXML file.


Field Summary
protected  java.lang.String sha1
           
protected  java.lang.String type
           
protected  java.lang.String URI
           
 
Constructor Summary
ParentFile(java.lang.String URI, java.lang.String type, java.lang.String sha1)
           
 
Method Summary
 java.lang.String getSha1()
          Get the sha1-sum of this file.
 java.lang.String getType()
          Return the type of parent file.
 java.lang.String getURI()
          Get the URI of this file.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

URI

protected java.lang.String URI

sha1

protected java.lang.String sha1

type

protected java.lang.String type
Constructor Detail

ParentFile

public ParentFile(java.lang.String URI,
                  java.lang.String type,
                  java.lang.String sha1)
Method Detail

getURI

public java.lang.String getURI()
Get the URI of this file.


getSha1

public java.lang.String getSha1()
Get the sha1-sum of this file.


getType

public java.lang.String getType()
Return the type of parent file. This value is either TYPE_RAW or TYPE_PROCESSED.

Returns:
the type of parent file.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object