Logo Search packages:      
Sourcecode: nailgun version File versions  Download package

com::martiansoftware::nailgun::ThreadLocalPrintStream::ThreadLocalPrintStream ( PrintStream  defaultPrintStream  )  [inline]

Creates a new InheritedThreadLocalPrintStream

Parameters:
defaultPrintStream the PrintStream that will be used if the current thread has not called init()

Definition at line 49 of file ThreadLocalPrintStream.java.

References init(), and streams.

                                                                  {
        super(defaultPrintStream);
        streams = new InheritableThreadLocal();
        this.defaultPrintStream = defaultPrintStream;
        init(null);
    }


Generated by  Doxygen 1.6.0   Back to index