public class DefaultNutsPrintStreams extends Object implements net.thevpc.nuts.NutsPrintStreams
| Constructor and Description |
|---|
DefaultNutsPrintStreams(net.thevpc.nuts.NutsSession session) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NutsPrintStream |
create(OutputStream out) |
net.thevpc.nuts.NutsPrintStream |
create(OutputStream out,
net.thevpc.nuts.NutsTerminalMode expectedMode,
net.thevpc.nuts.spi.NutsSystemTerminalBase term) |
net.thevpc.nuts.NutsPrintStream |
create(Writer out) |
net.thevpc.nuts.NutsPrintStream |
create(Writer out,
net.thevpc.nuts.NutsTerminalMode mode,
net.thevpc.nuts.spi.NutsSystemTerminalBase terminal) |
net.thevpc.nuts.NutsMemoryPrintStream |
createInMemory() |
net.thevpc.nuts.NutsPrintStream |
createNull() |
net.thevpc.nuts.NutsSession |
getSession() |
int |
getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context) |
boolean |
isStderr(net.thevpc.nuts.NutsPrintStream out) |
boolean |
isStdout(net.thevpc.nuts.NutsPrintStream out) |
net.thevpc.nuts.NutsPrintStream |
stderr() |
net.thevpc.nuts.NutsPrintStream |
stdout() |
public DefaultNutsPrintStreams(net.thevpc.nuts.NutsSession session)
public int getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NutsComponentpublic net.thevpc.nuts.NutsPrintStream createNull()
createNull in interface net.thevpc.nuts.NutsPrintStreamspublic net.thevpc.nuts.NutsMemoryPrintStream createInMemory()
createInMemory in interface net.thevpc.nuts.NutsPrintStreamspublic net.thevpc.nuts.NutsPrintStream create(OutputStream out, net.thevpc.nuts.NutsTerminalMode expectedMode, net.thevpc.nuts.spi.NutsSystemTerminalBase term)
create in interface net.thevpc.nuts.NutsPrintStreamspublic net.thevpc.nuts.NutsPrintStream create(OutputStream out)
create in interface net.thevpc.nuts.NutsPrintStreamspublic net.thevpc.nuts.NutsPrintStream create(Writer out, net.thevpc.nuts.NutsTerminalMode mode, net.thevpc.nuts.spi.NutsSystemTerminalBase terminal)
create in interface net.thevpc.nuts.NutsPrintStreamspublic net.thevpc.nuts.NutsPrintStream create(Writer out)
create in interface net.thevpc.nuts.NutsPrintStreamspublic boolean isStdout(net.thevpc.nuts.NutsPrintStream out)
isStdout in interface net.thevpc.nuts.NutsPrintStreamspublic boolean isStderr(net.thevpc.nuts.NutsPrintStream out)
isStderr in interface net.thevpc.nuts.NutsPrintStreamspublic net.thevpc.nuts.NutsPrintStream stdout()
stdout in interface net.thevpc.nuts.NutsPrintStreamspublic net.thevpc.nuts.NutsPrintStream stderr()
stderr in interface net.thevpc.nuts.NutsPrintStreamspublic net.thevpc.nuts.NutsSession getSession()
Copyright © 2022 vpc open source initiative. All rights reserved.