Lines Matching defs:destination
83 * <li><a name="redirect-output">a destination for <i>standard output</i>
113 * to the same destination (this makes it easier to correlate error
115 * <li>the common destination of standard error and standard output can be
439 * Represents a source of subprocess input or a destination of
517 * Indicates that subprocess I/O source or destination will be the
532 * Returns the {@link File} source or destination associated
541 * When redirected to a destination file, indicates if the output
708 * Sets this process builder's standard output destination.
711 * method send their standard output to this destination.
713 * <p>If the destination is {@link Redirect#PIPE Redirect.PIPE}
717 * If the destination is set to any other value, then
721 * @param destination the new standard output destination
725 * destination of data, that is, has type
729 public ProcessBuilder redirectOutput(Redirect destination) {
730 if (destination.type() == Redirect.Type.READ)
732 "Redirect invalid for writing: " + destination);
733 redirects()[1] = destination;
738 * Sets this process builder's standard error destination.
741 * method send their standard error to this destination.
743 * <p>If the destination is {@link Redirect#PIPE Redirect.PIPE}
747 * If the destination is set to any other value, then
755 * @param destination the new standard error destination
759 * destination of data, that is, has type
763 public ProcessBuilder redirectError(Redirect destination) {
764 if (destination.type() == Redirect.Type.READ)
766 "Redirect invalid for writing: " + destination);
767 redirects()[2] = destination;
789 * Sets this process builder's standard output destination to a file.
797 * @param file the new standard output destination
806 * Sets this process builder's standard error destination to a file.
814 * @param file the new standard error destination
837 * Returns this process builder's standard output destination.
840 * method redirect their standard output to this destination.
843 * @return this process builder's standard output destination
851 * Returns this process builder's standard error destination.
854 * method redirect their standard error to this destination.
857 * @return this process builder's standard error destination
865 * Sets the source and destination for subprocess standard I/O