/** * Creates a new pipe with the specified input and output. * * @param input The input. Must be one of the following types: Reader, InputStream, CharSequence. * @param output The output. Must be one of the following types: Writer, OutputStream. * @return This object (for method chaining). */ public static IOPipe create(Object input, Object output) { return new IOPipe(input, output); }
/** * Creates a new pipe with the specified input and output. * * @param input The input. Must be one of the following types: Reader, InputStream, CharSequence. * @param output The output. Must be one of the following types: Writer, OutputStream. * @return This object (for method chaining). */ public static IOPipe create(Object input, Object output) { return new IOPipe(input, output); }
/** * Creates a new pipe with the specified input and output. * * @param input The input. Must be one of the following types: Reader, InputStream, CharSequence. * @param output The output. Must be one of the following types: Writer, OutputStream. * @return This object (for method chaining). */ public static IOPipe create(Object input, Object output) { return new IOPipe(input, output); }