public class DefaultNIO extends Object implements net.thevpc.nuts.io.NIO
| Modifier and Type | Field and Description |
|---|---|
DefaultNBootModel |
bootModel |
DefaultNWorkspaceConfigModel |
cmodel |
| Constructor and Description |
|---|
DefaultNIO() |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.io.NIO |
addPathFactory(net.thevpc.nuts.spi.NPathFactorySPI pathFactory) |
net.thevpc.nuts.io.NTerminal |
defaultTerminal() |
net.thevpc.nuts.io.NIO |
defaultTerminal(net.thevpc.nuts.io.NTerminal terminal) |
List<String> |
findContentTypesByExtension(String extension) |
List<String> |
findExtensionsByContentType(String contentType) |
boolean |
isStderr(net.thevpc.nuts.io.NPrintStream out) |
boolean |
isStderr(OutputStream err) |
boolean |
isStdin(InputStream in) |
boolean |
isStdout(net.thevpc.nuts.io.NPrintStream out) |
boolean |
isStdout(OutputStream out) |
net.thevpc.nuts.io.NTempOutputStream |
ofTempOutputStream() |
String |
probeCharset(byte[] bytes) |
String |
probeCharset(File path) |
String |
probeCharset(InputStream stream) |
String |
probeCharset(net.thevpc.nuts.io.NPath path) |
String |
probeCharset(Path path) |
String |
probeCharset(URL path) |
String |
probeContentType(byte[] bytes) |
String |
probeContentType(File path) |
String |
probeContentType(InputStream stream) |
String |
probeContentType(net.thevpc.nuts.io.NPath path) |
String |
probeContentType(Path path) |
String |
probeContentType(URL path) |
net.thevpc.nuts.io.NIO |
removePathFactory(net.thevpc.nuts.spi.NPathFactorySPI pathFactory) |
net.thevpc.nuts.io.NPrintStream |
stderr() |
InputStream |
stdin() |
net.thevpc.nuts.io.NPrintStream |
stdout() |
net.thevpc.nuts.io.NSystemTerminal |
systemTerminal() |
net.thevpc.nuts.io.NIO |
systemTerminal(net.thevpc.nuts.spi.NSystemTerminalBase terminal) |
InputStream |
unwrapInputStream(InputStream in) |
OutputStream |
unwrapOutputStream(OutputStream out) |
public DefaultNWorkspaceConfigModel cmodel
public DefaultNBootModel bootModel
public InputStream stdin()
stdin in interface net.thevpc.nuts.io.NIOpublic OutputStream unwrapOutputStream(OutputStream out)
unwrapOutputStream in interface net.thevpc.nuts.io.NIOpublic InputStream unwrapInputStream(InputStream in)
unwrapInputStream in interface net.thevpc.nuts.io.NIOpublic boolean isStdin(InputStream in)
isStdin in interface net.thevpc.nuts.io.NIOpublic boolean isStdout(OutputStream out)
isStdout in interface net.thevpc.nuts.io.NIOpublic boolean isStderr(OutputStream err)
isStderr in interface net.thevpc.nuts.io.NIOpublic boolean isStdout(net.thevpc.nuts.io.NPrintStream out)
isStdout in interface net.thevpc.nuts.io.NIOpublic boolean isStderr(net.thevpc.nuts.io.NPrintStream out)
isStderr in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NPrintStream stdout()
stdout in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NPrintStream stderr()
stderr in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NSystemTerminal systemTerminal()
systemTerminal in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NIO systemTerminal(net.thevpc.nuts.spi.NSystemTerminalBase terminal)
systemTerminal in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NTerminal defaultTerminal()
defaultTerminal in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NIO defaultTerminal(net.thevpc.nuts.io.NTerminal terminal)
defaultTerminal in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NIO addPathFactory(net.thevpc.nuts.spi.NPathFactorySPI pathFactory)
addPathFactory in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NIO removePathFactory(net.thevpc.nuts.spi.NPathFactorySPI pathFactory)
removePathFactory in interface net.thevpc.nuts.io.NIOpublic String probeContentType(Path path)
probeContentType in interface net.thevpc.nuts.io.NIOpublic String probeContentType(File path)
probeContentType in interface net.thevpc.nuts.io.NIOpublic String probeContentType(URL path)
probeContentType in interface net.thevpc.nuts.io.NIOpublic String probeContentType(net.thevpc.nuts.io.NPath path)
probeContentType in interface net.thevpc.nuts.io.NIOpublic List<String> findExtensionsByContentType(String contentType)
findExtensionsByContentType in interface net.thevpc.nuts.io.NIOpublic List<String> findContentTypesByExtension(String extension)
findContentTypesByExtension in interface net.thevpc.nuts.io.NIOpublic String probeContentType(InputStream stream)
probeContentType in interface net.thevpc.nuts.io.NIOpublic String probeContentType(byte[] bytes)
probeContentType in interface net.thevpc.nuts.io.NIOpublic String probeCharset(URL path)
probeCharset in interface net.thevpc.nuts.io.NIOpublic String probeCharset(File path)
probeCharset in interface net.thevpc.nuts.io.NIOpublic String probeCharset(Path path)
probeCharset in interface net.thevpc.nuts.io.NIOpublic String probeCharset(net.thevpc.nuts.io.NPath path)
probeCharset in interface net.thevpc.nuts.io.NIOpublic String probeCharset(InputStream stream)
probeCharset in interface net.thevpc.nuts.io.NIOpublic String probeCharset(byte[] bytes)
probeCharset in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NTempOutputStream ofTempOutputStream()
ofTempOutputStream in interface net.thevpc.nuts.io.NIOCopyright © 2026 vpc open source initiative. All rights reserved.