Class JDXHeader
java.lang.Object
jspecview.source.JDXHeader
- Direct Known Subclasses:
JDXDataObject, JDXSource
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the data class spectrum onlyGetter for property dataType.getDate()Getter for property date.String[][]getHeaderRowDataAsArray(boolean addDataClass, int nMore) Returns the table of headersGetter for property jcampdx.Getter for property longDate.Getter for property origin.getOwner()Getter for property owner.getTime()Getter for property time.getTitle()Getter for property title.voidsetDataClass(String dataClass) Sets the data classvoidsetDataType(String dataType) Sets the data typevoidSets the date the file was createdvoidsetHeaderTable(Lst<String[]> table) Sets the headerTable for this Source or spectrumvoidsetJcampdx(String versionNum) Sets the JCAMP-DX version numbervoidsetLongDate(String longDate) Sets the long date of when the file was createdvoidSets the origin of the JCAMP-DX spectrumvoidSets the ownervoidSets the time the file was createdvoidSets the title of the spectrum
-
Field Details
-
title
-
jcampdx
-
dataType
-
dataClass
-
origin
-
owner
-
longDate
-
date
-
time
-
headerTable
-
-
Constructor Details
-
JDXHeader
public JDXHeader()
-
-
Method Details
-
setTitle
Sets the title of the spectrum- Parameters:
title- the spectrum title
-
setJcampdx
Sets the JCAMP-DX version number- Parameters:
versionNum- the JCAMP-DX version number
-
setDataType
-
setDataClass
Sets the data class- Parameters:
dataClass- the data class
-
setOrigin
Sets the origin of the JCAMP-DX spectrum- Parameters:
origin- the origin
-
setOwner
-
setLongDate
Sets the long date of when the file was created- Parameters:
longDate- String
-
setDate
-
setTime
-
getTitle
-
getQualifiedDataType
-
getJcampdx
-
getDataType
-
getOrigin
-
getOwner
-
getLongDate
-
getDate
-
getTime
-
getDataClass
-
setHeaderTable
-
getHeaderTable
-
getHeaderRowDataAsArray
-