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.NPath |
createAnyTempFile(String name,
boolean folder,
net.thevpc.nuts.io.NPath rootFolder) |
net.thevpc.nuts.io.NPath |
createPath(File path) |
net.thevpc.nuts.io.NPath |
createPath(net.thevpc.nuts.spi.NPathSPI path) |
net.thevpc.nuts.io.NPath |
createPath(Path path) |
net.thevpc.nuts.io.NPath |
createPath(String path) |
net.thevpc.nuts.io.NPath |
createPath(String path,
ClassLoader classLoader) |
net.thevpc.nuts.io.NPath |
createPath(URL path) |
List<String> |
findContentTypesByExtension(String extension) |
List<String> |
findExtensionsByContentType(String contentType) |
net.thevpc.nuts.io.NTerminal |
getDefaultTerminal() |
int |
getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context) |
net.thevpc.nuts.io.NSystemTerminal |
getSystemTerminal() |
boolean |
isStderr(net.thevpc.nuts.io.NPrintStream out) |
boolean |
isStdin(InputStream in) |
boolean |
isStdout(net.thevpc.nuts.io.NPrintStream out) |
net.thevpc.nuts.io.NPath |
ofTempFile() |
net.thevpc.nuts.io.NPath |
ofTempFile(String name) |
net.thevpc.nuts.io.NPath |
ofTempFolder() |
net.thevpc.nuts.io.NPath |
ofTempFolder(String name) |
net.thevpc.nuts.io.NPath |
ofTempIdFile(net.thevpc.nuts.NId repository) |
net.thevpc.nuts.io.NPath |
ofTempIdFile(String name,
net.thevpc.nuts.NId repository) |
net.thevpc.nuts.io.NPath |
ofTempIdFolder(net.thevpc.nuts.NId repository) |
net.thevpc.nuts.io.NPath |
ofTempIdFolder(String name,
net.thevpc.nuts.NId repository) |
net.thevpc.nuts.io.NTempOutputStream |
ofTempOutputStream() |
net.thevpc.nuts.io.NPath |
ofTempRepositoryFile(net.thevpc.nuts.NRepository repository) |
net.thevpc.nuts.io.NPath |
ofTempRepositoryFile(String name,
net.thevpc.nuts.NRepository repository) |
net.thevpc.nuts.io.NPath |
ofTempRepositoryFolder(net.thevpc.nuts.NRepository repository) |
net.thevpc.nuts.io.NPath |
ofTempRepositoryFolder(String name,
net.thevpc.nuts.NRepository repository) |
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.NIO |
setDefaultTerminal(net.thevpc.nuts.io.NTerminal terminal) |
net.thevpc.nuts.io.NIO |
setSystemTerminal(net.thevpc.nuts.spi.NSystemTerminalBase terminal) |
net.thevpc.nuts.io.NPrintStream |
stderr() |
InputStream |
stdin() |
net.thevpc.nuts.io.NPrintStream |
stdout() |
public DefaultNWorkspaceConfigModel cmodel
public DefaultNBootModel bootModel
public boolean isStdin(InputStream in)
isStdin in interface net.thevpc.nuts.io.NIOpublic InputStream stdin()
stdin in interface net.thevpc.nuts.io.NIOpublic int getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NComponentpublic 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 getSystemTerminal()
getSystemTerminal in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NIO setSystemTerminal(net.thevpc.nuts.spi.NSystemTerminalBase terminal)
setSystemTerminal in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NTerminal getDefaultTerminal()
getDefaultTerminal in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NIO setDefaultTerminal(net.thevpc.nuts.io.NTerminal terminal)
setDefaultTerminal in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NPath createPath(String path)
createPath in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NPath createPath(File path)
createPath in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NPath createPath(Path path)
createPath in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NPath createPath(URL path)
createPath in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NPath createPath(String path, ClassLoader classLoader)
createPath in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NPath createPath(net.thevpc.nuts.spi.NPathSPI path)
createPath 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 net.thevpc.nuts.io.NPath ofTempFile(String name)
ofTempFile in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NPath ofTempFolder(String name)
ofTempFolder in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NPath ofTempFile()
ofTempFile in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NPath ofTempFolder()
ofTempFolder in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NPath ofTempRepositoryFile(String name, net.thevpc.nuts.NRepository repository)
ofTempRepositoryFile in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NPath ofTempRepositoryFolder(String name, net.thevpc.nuts.NRepository repository)
ofTempRepositoryFolder in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NPath ofTempRepositoryFile(net.thevpc.nuts.NRepository repository)
ofTempRepositoryFile in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NPath ofTempRepositoryFolder(net.thevpc.nuts.NRepository repository)
ofTempRepositoryFolder in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NPath ofTempIdFile(String name, net.thevpc.nuts.NId repository)
ofTempIdFile in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NPath ofTempIdFolder(String name, net.thevpc.nuts.NId repository)
ofTempIdFolder in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NPath ofTempIdFile(net.thevpc.nuts.NId repository)
ofTempIdFile in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NPath ofTempIdFolder(net.thevpc.nuts.NId repository)
ofTempIdFolder in interface net.thevpc.nuts.io.NIOpublic net.thevpc.nuts.io.NPath createAnyTempFile(String name, boolean folder, net.thevpc.nuts.io.NPath rootFolder)
public 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 © 2025 vpc open source initiative. All rights reserved.