javanpst.data.readers.sequenceReaders
Class NumericSequenceXMLReader
- java.lang.Object
-
- javanpst.data.readers.sequenceReaders.NumericSequenceXMLReader
-
public class NumericSequenceXMLReader extends java.lang.ObjectA XML reader for numerical sequences. Store data inside a string array.
-
-
Constructor Summary
Constructors Constructor and Description NumericSequenceXMLReader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidappend(java.lang.String text)Adds a new element to the sequence.static voidclear()Clears the arraystatic java.util.ArrayList<java.lang.Double>getSequence()Get a copy of the inner sequence as outputstatic voidreadXMLSequence(java.lang.String file)Read a string sequence from a file, through SAX API
-
-
-
Method Detail
-
getSequence
public static java.util.ArrayList<java.lang.Double> getSequence()
Get a copy of the inner sequence as output- Returns:
- a copy of the inner sequence
-
clear
public static void clear()
Clears the array
-
append
public static void append(java.lang.String text)
Adds a new element to the sequence. The element must be a numerical value- Parameters:
text- element to add
-
readXMLSequence
public static void readXMLSequence(java.lang.String file)
Read a string sequence from a file, through SAX API- Parameters:
file- path of the file
-
-
DMelt 3.0 © DataMelt by jWork.ORG