Class OutputStreamOrPath

java.lang.Object
org.aksw.commons.io.process.pipe.OutputStreamOrPath

public class OutputStreamOrPath extends Object
Object that holds either an output stream or a path. Used to set up process redirection.
Author:
raven
  • Field Details

  • Constructor Details

    • OutputStreamOrPath

      public OutputStreamOrPath(Path path)
    • OutputStreamOrPath

      public OutputStreamOrPath(OutputStream OutputStream)
  • Method Details

    • isPath

      public boolean isPath()
    • getPath

      public Path getPath()
    • isOutputStream

      public boolean isOutputStream()
    • getOutputStream

      public OutputStream getOutputStream()