org.systemsbiology.jrap
Class ParentFile

java.lang.Object
  extended byorg.systemsbiology.jrap.ParentFile

public class ParentFile
extends java.lang.Object

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

Author:
Mathijs

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

Field Detail

TYPE_RAW

public static final int TYPE_RAW
See Also:
Constant Field Values

TYPE_PROCESSED

public static final int TYPE_PROCESSED
See Also:
Constant Field Values
Constructor Detail

ParentFile

public ParentFile(java.lang.String URI,
                  java.lang.String sha1,
                  int type)
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 int getType()
Return the type of parent file. This value is either TYPE_RAW or TYPE_PROCESSED.

Returns:
the type of parent file.