Package com.vmware.aria.operations
Class AdapterIO
-
- All Implemented Interfaces:
public final class AdapterIO
-
-
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 -
-
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 pipeoutputPipe
- 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
-
-
-
-