Class TextLineFormatterTest.CustomBaseFormatter

java.lang.Object
test.de.iip_ecosphere.platform.connectors.TextLineFormatterTest.CustomBaseFormatter
All Implemented Interfaces:
de.iip_ecosphere.platform.connectors.formatter.OutputFormatter<String>
Direct Known Subclasses:
TextLineFormatterTest.CustomExBaseFormatter
Enclosing class:
TextLineFormatterTest

public static class TextLineFormatterTest.CustomBaseFormatter extends Object implements de.iip_ecosphere.platform.connectors.formatter.OutputFormatter<String>
A test formatter without encoding.
Author:
Holger Eichelberger, SSE
  • Constructor Details

    • CustomBaseFormatter

      public CustomBaseFormatter()
  • Method Details

    • add

      public void add(String name, String data) throws IOException
      Specified by:
      add in interface de.iip_ecosphere.platform.connectors.formatter.OutputFormatter<String>
      Throws:
      IOException
    • chunkCompleted

      public byte[] chunkCompleted() throws IOException
      Specified by:
      chunkCompleted in interface de.iip_ecosphere.platform.connectors.formatter.OutputFormatter<String>
      Throws:
      IOException
    • getConverter

      public de.iip_ecosphere.platform.connectors.formatter.OutputFormatter.OutputConverter<String> getConverter()
      Specified by:
      getConverter in interface de.iip_ecosphere.platform.connectors.formatter.OutputFormatter<String>
    • startArrayStructure

      public void startArrayStructure(String name) throws IOException
      Specified by:
      startArrayStructure in interface de.iip_ecosphere.platform.connectors.formatter.OutputFormatter<String>
      Throws:
      IOException
    • startObjectStructure

      public void startObjectStructure(String name) throws IOException
      Specified by:
      startObjectStructure in interface de.iip_ecosphere.platform.connectors.formatter.OutputFormatter<String>
      Throws:
      IOException
    • endStructure

      public void endStructure() throws IOException
      Specified by:
      endStructure in interface de.iip_ecosphere.platform.connectors.formatter.OutputFormatter<String>
      Throws:
      IOException