public class DefaultNutsIOModel extends Object
| Modifier and Type | Field and Description |
|---|---|
DefaultNutsBootModel |
bootModel |
static Pattern |
MOSTLY_URL_PATTERN |
net.thevpc.nuts.NutsPrintStream |
nullOut |
| Constructor and Description |
|---|
DefaultNutsIOModel(net.thevpc.nuts.NutsWorkspace workspace,
DefaultNutsBootModel bootModel) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPathFactory(net.thevpc.nuts.NutsPathFactory f) |
net.thevpc.nuts.NutsIOCompressAction |
compress() |
net.thevpc.nuts.NutsIOCopyAction |
copy() |
net.thevpc.nuts.NutsPrintStream |
createPrintStream(OutputStream out,
net.thevpc.nuts.NutsTerminalMode expectedMode,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsPrintStream |
createPrintStream(Writer out,
net.thevpc.nuts.NutsTerminalMode expectedMode,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsIODeleteAction |
delete() |
String |
expandPath(String path) |
String |
expandPath(String path,
String baseFolder) |
net.thevpc.nuts.NutsPathFactory[] |
getPathFactories() |
int |
getSupportLevel(net.thevpc.nuts.NutsSupportLevelContext<Object> criteria) |
net.thevpc.nuts.NutsWorkspace |
getWorkspace() |
net.thevpc.nuts.NutsIOHashAction |
hash() |
net.thevpc.nuts.NutsInputAction |
input() |
net.thevpc.nuts.NutsMonitorAction |
monitor() |
InputStream |
nullInputStream() |
net.thevpc.nuts.NutsPrintStream |
nullPrintStream() |
net.thevpc.nuts.NutsOutputAction |
output() |
net.thevpc.nuts.NutsIOProcessAction |
ps() |
void |
removePathFactory(net.thevpc.nuts.NutsPathFactory f) |
net.thevpc.nuts.NutsPath |
resolve(String path,
net.thevpc.nuts.NutsSession session,
ClassLoader classLoader) |
void |
setStderr(net.thevpc.nuts.NutsPrintStream stderr) |
void |
setStdin(InputStream stdin) |
void |
setStdout(net.thevpc.nuts.NutsPrintStream stdout) |
net.thevpc.nuts.NutsPrintStream |
stderr() |
InputStream |
stdin() |
net.thevpc.nuts.NutsPrintStream |
stdout() |
net.thevpc.nuts.NutsTempAction |
tmp() |
net.thevpc.nuts.NutsIOUncompressAction |
uncompress() |
public static final Pattern MOSTLY_URL_PATTERN
public final net.thevpc.nuts.NutsPrintStream nullOut
public DefaultNutsBootModel bootModel
public DefaultNutsIOModel(net.thevpc.nuts.NutsWorkspace workspace,
DefaultNutsBootModel bootModel)
public net.thevpc.nuts.NutsWorkspace getWorkspace()
public int getSupportLevel(net.thevpc.nuts.NutsSupportLevelContext<Object> criteria)
public InputStream nullInputStream()
public net.thevpc.nuts.NutsPrintStream nullPrintStream()
public net.thevpc.nuts.NutsPrintStream createPrintStream(Writer out, net.thevpc.nuts.NutsTerminalMode expectedMode, net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsPrintStream createPrintStream(OutputStream out, net.thevpc.nuts.NutsTerminalMode expectedMode, net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsTempAction tmp()
public net.thevpc.nuts.NutsIOCopyAction copy()
public net.thevpc.nuts.NutsIOProcessAction ps()
public net.thevpc.nuts.NutsIOCompressAction compress()
public net.thevpc.nuts.NutsIOUncompressAction uncompress()
public net.thevpc.nuts.NutsIODeleteAction delete()
public net.thevpc.nuts.NutsMonitorAction monitor()
public net.thevpc.nuts.NutsIOHashAction hash()
public net.thevpc.nuts.NutsInputAction input()
public net.thevpc.nuts.NutsOutputAction output()
public InputStream stdin()
public void setStdin(InputStream stdin)
public net.thevpc.nuts.NutsPrintStream stdout()
public void setStdout(net.thevpc.nuts.NutsPrintStream stdout)
public net.thevpc.nuts.NutsPrintStream stderr()
public void setStderr(net.thevpc.nuts.NutsPrintStream stderr)
public void addPathFactory(net.thevpc.nuts.NutsPathFactory f)
public void removePathFactory(net.thevpc.nuts.NutsPathFactory f)
public net.thevpc.nuts.NutsPath resolve(String path, net.thevpc.nuts.NutsSession session, ClassLoader classLoader)
public net.thevpc.nuts.NutsPathFactory[] getPathFactories()
Copyright © 2021 vpc open source initiative. All rights reserved.