Class AdapterIO

  • All Implemented Interfaces:

    
    public final class AdapterIO
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static JsonElement readFromPipe(String inputPipe) Reads data from the input pipe.
      final static JsonElement readFromPipe() Reads data from the input pipe.
      final static Unit writeToPipe(JsonElement result, String outputPipe) Writes data to the output pipe
      final static Unit writeToPipe(JsonElement result) Writes data to the output pipe
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • readFromPipe

         final static JsonElement readFromPipe(String inputPipe)

        Reads data from the input pipe.

        Parameters:
        inputPipe - The path to the input pipe.
        Returns:

        The data read from the input pipe, or null if there was an error.

      • readFromPipe

         final static JsonElement readFromPipe()

        Reads data from the input pipe.

        Returns:

        The data read from the input pipe, or null if there was an error.

      • writeToPipe

         final static Unit writeToPipe(JsonElement result, String outputPipe)

        Writes data to the output pipe

        Parameters:
        result - The (json) data to write to the output pipe
        outputPipe - The path to the output pipe.
      • writeToPipe

         final static Unit writeToPipe(JsonElement result)

        Writes data to the output pipe

        Parameters:
        result - The (json) data to write to the output pipe