001package org.unix4j.io;
002
003/**
004 * Output device writing to the {@link System#out standard output} stream.
005 */
006public class StdOutput extends StreamOutput {
007        /**
008         * The singleton instance.
009         */
010        public static final StdOutput INSTANCE = new StdOutput();
011
012        /**
013         * Default constructor, application code should use the singleton
014         * {@link #INSTANCE}.
015         */
016        public StdOutput() {
017                super(System.out);
018        }
019
020        @Override
021        public String toString() {
022                return "/dev/stdout";
023        }
024}