Class TextMapDeserializer
java.lang.Object
kieker.analysis.generic.source.file.AbstractMapDeserializer
kieker.analysis.generic.source.file.TextMapDeserializer
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessDataStream(InputStream inputStream, ReaderRegistry<String> registry, 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(InputStream inputStream, ReaderRegistry<String> registry, String mapFileName) Description copied from class:AbstractMapDeserializerRead a string map from an input stream and initialize the specified registry with the values.- Specified by:
processDataStreamin classAbstractMapDeserializer- Parameters:
inputStream- the input streamregistry- the string registrymapFileName- the associated file name used for error and debug output
-