com.compomics.util.io
Class PklFile

java.lang.Object
  extended by com.compomics.util.io.PklFile

public class PklFile
extends java.lang.Object

Contains information about the contents of one PKL file.

Author:
Harald Barsnes

Constructor Summary
PklFile(java.io.File pklFile)
          Parse a PKL file and store the details in the PKLFile object.
 
Method Summary
 java.lang.String getFileName()
           
 double[] getIntensityValues()
           
 double[] getMzValues()
           
 int getPrecurorCharge()
           
 double getPrecursorIntensity()
           
 double getPrecursorMz()
           
 java.lang.String getSpectrumFileId()
           
 void setFileName(java.lang.String fileName)
           
 void setIntensityValues(double[] intensityValues)
           
 void setMzValues(double[] mzValues)
           
 void setPrecurorCharge(int precurorCharge)
           
 void setPrecursorIntensity(double precursorIntensity)
           
 void setPrecursorMz(double precursorMz)
           
 void setSpectrumFileId(java.lang.String spectrumFileId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PklFile

public PklFile(java.io.File pklFile)
        throws java.io.IOException
Parse a PKL file and store the details in the PKLFile object.

Parameters:
pklFile - the file to parse
Throws:
java.io.IOException
Method Detail

getPrecurorCharge

public int getPrecurorCharge()
Returns:
the precurorCharge

setPrecurorCharge

public void setPrecurorCharge(int precurorCharge)
Parameters:
precurorCharge - the precurorCharge to set

getPrecursorMz

public double getPrecursorMz()
Returns:
the precursorMz

setPrecursorMz

public void setPrecursorMz(double precursorMz)
Parameters:
precursorMz - the precursorMz to set

getPrecursorIntensity

public double getPrecursorIntensity()
Returns:
the precursorIntensity

setPrecursorIntensity

public void setPrecursorIntensity(double precursorIntensity)
Parameters:
precursorIntensity - the precursorIntensity to set

getMzValues

public double[] getMzValues()
Returns:
the mzValues

setMzValues

public void setMzValues(double[] mzValues)
Parameters:
mzValues - the mzValues to set

getIntensityValues

public double[] getIntensityValues()
Returns:
the intensityValues

setIntensityValues

public void setIntensityValues(double[] intensityValues)
Parameters:
intensityValues - the intensityValues to set

getFileName

public java.lang.String getFileName()
Returns:
the fileName

setFileName

public void setFileName(java.lang.String fileName)
Parameters:
fileName - the fileName to set

getSpectrumFileId

public java.lang.String getSpectrumFileId()
Returns:
the spectrumFileId

setSpectrumFileId

public void setSpectrumFileId(java.lang.String spectrumFileId)
Parameters:
spectrumFileId - the spectrumFileId to set


Copyright © 2012. All Rights Reserved.