public class MultiFileFormatSerializer extends ClassSerializer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MAIN_TAG |
static java.lang.String |
NAME |
static java.lang.String |
URI |
static java.lang.String |
URIS |
Constructor and Description |
---|
MultiFileFormatSerializer(MultiFileFormat timeSeriesFormat) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMainTag()
Obtiene el tag principal del bloque
|
java.lang.Object |
getResult()
Obtiene el objeto resultante de haber aplicado un read.
|
void |
parseURIs(KXmlParser parser,
java.lang.String xml,
java.lang.String parseableTag)
Parsers a date list
|
static MultiFileFormat |
read(MultiFileFormat timeSeriesFormat,
java.lang.String file)
Reads a TimeSeriesFormat from disk
|
void |
read(java.lang.String xml)
Lee el bloque XML pasado por parámetro y carga el objeto correspondiente
con los datos.
|
java.lang.String |
write()
Obtiene un bloque XML que representa a las propiedades del objeto a
serializar.
|
static void |
write(MultiFileFormat multiFileFormat,
java.lang.String fileName)
Writes a MultiFileFormat to disk
|
convertStringInDoubleArray, convertStringInIntArray, parseBoundingBox, parsePoint2D, parserString, parseViewPort, putProperty, putProperty, putProperty
public static final java.lang.String MAIN_TAG
public static final java.lang.String URIS
public static final java.lang.String URI
public static final java.lang.String NAME
public MultiFileFormatSerializer(MultiFileFormat timeSeriesFormat)
timeSeriesFormat
- public void parseURIs(KXmlParser parser, java.lang.String xml, java.lang.String parseableTag) throws XmlPullParserException, java.io.IOException, java.lang.NumberFormatException, ParsingException, java.text.ParseException
tInfo
- parser
- xml
- parseableTag
- tag
- XmlPullParserException
java.io.IOException
ParsingException
java.lang.NumberFormatException
java.text.ParseException
public void read(java.lang.String xml) throws ParsingException
IRmfBlock
ParsingException
public static void write(MultiFileFormat multiFileFormat, java.lang.String fileName) throws java.io.IOException
multiFileFormat
- fileName
- file
- java.io.IOException
public static MultiFileFormat read(MultiFileFormat timeSeriesFormat, java.lang.String file) throws java.io.IOException, ParsingException
timeSeriesFormat
- file
- java.io.IOException
ParsingException
public java.lang.String write()
IRmfBlock
public java.lang.Object getResult()
IRmfBlock
public java.lang.String getMainTag()
IRmfBlock