Class TextMapDeserializer
java.lang.Object
kieker.analysis.generic.source.file.AbstractMapDeserializer
kieker.analysis.generic.source.file.TextMapDeserializer
public class TextMapDeserializer extends AbstractMapDeserializer
Reader for text-based mapfiles. The accepted file format is a number on the left side and a escaped string on the right side terminated by a newline.
Both parts are separated by a equal sign (=). The number can be prefixed by a dollar sign ($). Format regex ^\$?[0-9]+=\a$
In case the mapfile is compressed with one of the supported compression formats, it will be decompressed before interpretation.
- Since:
- 1.15
- Author:
- Reiner Jung
-
Constructor Summary
Constructors Constructor Description TextMapDeserializer()
Create a new map file deserializer. -
Method Summary
Modifier and Type Method Description void
processDataStream(java.io.InputStream inputStream, ReaderRegistry<java.lang.String> registry, java.lang.String mapFileName)
Read a string map from an input stream and initialize the specified registry with the values.
-
Constructor Details
-
TextMapDeserializer
public TextMapDeserializer()Create a new map file deserializer.
-
-
Method Details
-
processDataStream
public void processDataStream(java.io.InputStream inputStream, ReaderRegistry<java.lang.String> registry, java.lang.String mapFileName)Description copied from class:AbstractMapDeserializer
Read a string map from an input stream and initialize the specified registry with the values.- Specified by:
processDataStream
in classAbstractMapDeserializer
- Parameters:
inputStream
- the input streamregistry
- the string registrymapFileName
- the associated file name used for error and debug output
-