com.compomics.util.io
Class PklFile
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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 © 2011. All Rights Reserved.