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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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 class AbstractMapDeserializer
      Parameters:
      inputStream - the input stream
      registry - the string registry
      mapFileName - the associated file name used for error and debug output