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