public class NPathFromSPI extends NPathBase
NPathBase.PathFormatBUFFER_SIZE| Constructor and Description |
|---|
NPathFromSPI(net.thevpc.nuts.spi.NPathSPI base) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.io.NPath |
addPermissions(net.thevpc.nuts.io.NPathPermission... permissions) |
int |
compareTo(net.thevpc.nuts.io.NPath other) |
String |
contentEncoding() |
long |
contentLength() |
net.thevpc.nuts.io.NPath |
copy() |
void |
copyTo(net.thevpc.nuts.io.NPath other,
net.thevpc.nuts.io.NPathOption... options) |
net.thevpc.nuts.io.NPath |
delete(boolean recurse) |
net.thevpc.nuts.io.NPath |
deleteTree() |
net.thevpc.nuts.io.NPath |
ensureEmptyDirectory() |
net.thevpc.nuts.io.NPath |
ensureEmptyFile() |
boolean |
equals(Object o) |
boolean |
exists() |
net.thevpc.nuts.io.NPath |
expandPath(Function<String,String> resolver) |
net.thevpc.nuts.spi.NPathSPI |
getBase() |
String |
getCharset() |
String |
getContentType() |
Instant |
getCreationInstant() |
byte[] |
getDigest(String algo) |
InputStream |
getInputStream(net.thevpc.nuts.io.NPathOption... options) |
String |
getLocation() |
String |
getName() |
String |
getName(int index) |
int |
getNameCount() |
List<String> |
getNames() |
OutputStream |
getOutputStream(net.thevpc.nuts.io.NPathOption... options) |
net.thevpc.nuts.io.NPath |
getParent() |
Set<net.thevpc.nuts.io.NPathPermission> |
getPermissions() |
String |
getProtocol() |
net.thevpc.nuts.io.NPath |
getRoot() |
String |
group() |
int |
hashCode() |
boolean |
isAbsolute() |
boolean |
isDirectory() |
boolean |
isEqOrDeepChildOf(net.thevpc.nuts.io.NPath other) |
boolean |
isLocal() |
boolean |
isName() |
boolean |
isOther() |
boolean |
isRegularFile() |
boolean |
isRemote() |
boolean |
isRoot() |
boolean |
isSymbolicLink() |
Instant |
lastAccessInstant() |
Instant |
lastModifiedInstant() |
net.thevpc.nuts.util.NStream<String> |
lines(Charset cs) |
List<net.thevpc.nuts.io.NPathChildDigestInfo> |
listDigestInfo() |
List<net.thevpc.nuts.io.NPathChildDigestInfo> |
listDigestInfo(String algo) |
List<net.thevpc.nuts.io.NPathChildStringDigestInfo> |
listStringDigestInfo() |
List<net.thevpc.nuts.io.NPathChildStringDigestInfo> |
listStringDigestInfo(String algo) |
net.thevpc.nuts.io.NPath |
mkdir() |
net.thevpc.nuts.io.NPath |
mkdir(boolean parents) |
net.thevpc.nuts.io.NPath |
mkdirs() |
net.thevpc.nuts.io.NPath |
mkParentDirs() |
void |
moveTo(net.thevpc.nuts.io.NPath other,
net.thevpc.nuts.io.NPathOption... options) |
net.thevpc.nuts.io.NPath |
normalize() |
String |
owner() |
byte[] |
readBytes(net.thevpc.nuts.io.NPathOption... options) |
net.thevpc.nuts.io.NPath |
removePermissions(net.thevpc.nuts.io.NPathPermission... permissions) |
net.thevpc.nuts.io.NPath |
resolve(net.thevpc.nuts.io.NPath other) |
net.thevpc.nuts.io.NPath |
resolve(String other) |
net.thevpc.nuts.io.NPath |
resolveChild(net.thevpc.nuts.io.NPath other) |
net.thevpc.nuts.io.NPath |
resolveChild(String other) |
net.thevpc.nuts.io.NPath |
resolveSibling(net.thevpc.nuts.io.NPath other) |
net.thevpc.nuts.io.NPath |
resolveSibling(String other) |
net.thevpc.nuts.util.NStream<String> |
reversedLines(Charset cs) |
net.thevpc.nuts.io.NPath |
setPermissions(net.thevpc.nuts.io.NPathPermission... permissions) |
net.thevpc.nuts.spi.NPathSPI |
spi() |
boolean |
startsWith(net.thevpc.nuts.io.NPath other) |
boolean |
startsWith(String other) |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.io.NPath> |
stream() |
net.thevpc.nuts.io.NPath |
subpath(int beginIndex,
int endIndex) |
net.thevpc.nuts.io.NPath |
toAbsolute() |
net.thevpc.nuts.io.NPath |
toAbsolute(net.thevpc.nuts.io.NPath rootPath) |
net.thevpc.nuts.io.NPath |
toAbsolute(String rootPath) |
net.thevpc.nuts.io.NPath |
toCompressedForm() |
net.thevpc.nuts.util.NOptional<File> |
toFile() |
net.thevpc.nuts.util.NOptional<Path> |
toPath() |
net.thevpc.nuts.util.NOptional<String> |
toRelative(net.thevpc.nuts.io.NPath parentPath) |
String |
toString() |
net.thevpc.nuts.util.NOptional<URL> |
toURL() |
net.thevpc.nuts.io.NPathType |
type() |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.io.NPath> |
walk(int maxDepth,
net.thevpc.nuts.io.NPathOption[] options) |
net.thevpc.nuts.io.NPath |
walkDfs(net.thevpc.nuts.format.NTreeVisitor<net.thevpc.nuts.io.NPath> visitor,
int maxDepth,
net.thevpc.nuts.io.NPathOption... options) |
net.thevpc.nuts.io.NPath |
walkDfs(net.thevpc.nuts.format.NTreeVisitor<net.thevpc.nuts.io.NPath> visitor,
net.thevpc.nuts.io.NPathOption... options) |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.io.NPath> |
walkGlob(net.thevpc.nuts.io.NPathOption... options) |
net.thevpc.nuts.io.NPath |
writeBytes(byte[] bytes,
net.thevpc.nuts.io.NPathOption... options) |
copyExtraFrom, copyFrom, copyFromInputStream, copyFromInputStreamProvider, copyFromReader, copyFromReader, copyToOutputStream, copyToPrintStream, copyToPrintStream, copyToWriter, copyToWriter, delete, dispose, getBufferedReader, getBufferedReader, getBufferedWriter, getBufferedWriter, getBufferedWriter, getInputStream, getMetaData, getNameParts, getNameParts, getNPrintStream, getOutputStream, getPrintStream, getPrintStream, getPrintStream, getReader, getReader, getSmartFileNameParts, getWriter, getWriter, getWriter, isDeleteOnDispose, isFile, isHttp, isKnownContentLength, isMultiRead, isURL, isUserCache, isUserTemporary, list, readString, readString, resolveSiblingWithExtension, resolveSiblingWithExtension, setDeleteOnDispose, setUserCache, setUserTemporary, toNutsString, unwrapPath, walk, walk, walk, writeString, writeStringgetBufferedReader, getBufferedReader, getDigest, getDigestString, getDigestString, getReader, getReader, head, head, lines, nonNullCharset, readBytes, readString, reversedLines, tail, tailclone, finalize, getClass, notify, notifyAll, wait, wait, waitof, of, of, of, of, of, of, ofSystemStore, ofTempFile, ofTempFile, ofTempFolder, ofTempFolder, ofTempIdFile, ofTempIdFile, ofTempIdFolder, ofTempIdFolder, ofTempRepositoryFile, ofTempRepositoryFile, ofTempRepositoryFolder, ofTempRepositoryFolder, ofUserDirectory, ofUserHome, ofUserStore, writeMsg, writeObject, writeTextgetBufferedReader, getBufferedReader, getDigest, getDigestString, getDigestString, getReader, getReader, head, head, lines, of, of, of, of, of, of, of, of, of, of, ofEmpty, ofMultiRead, readBytes, readString, readString, reversedLines, tail, tailpublic net.thevpc.nuts.spi.NPathSPI spi()
public net.thevpc.nuts.spi.NPathSPI getBase()
public net.thevpc.nuts.util.NStream<String> reversedLines(Charset cs)
reversedLines in interface net.thevpc.nuts.io.NInputSourcereversedLines in class AbstractNInputSourcepublic net.thevpc.nuts.util.NStream<String> lines(Charset cs)
lines in interface net.thevpc.nuts.io.NInputSourcelines in class AbstractNInputSourcepublic net.thevpc.nuts.io.NPath copy()
public String contentEncoding()
public String getContentType()
getContentType in interface net.thevpc.nuts.io.NInputContentProvidergetContentType in interface net.thevpc.nuts.io.NPathgetContentType in class AbstractNInputSourcepublic String getCharset()
getCharset in interface net.thevpc.nuts.io.NInputContentProvidergetCharset in class AbstractNInputSourcepublic String getName()
getName in interface net.thevpc.nuts.io.NInputContentProvidergetName in interface net.thevpc.nuts.io.NPathgetName in class AbstractNInputSourcepublic String getLocation()
public net.thevpc.nuts.io.NPath resolve(String other)
public net.thevpc.nuts.io.NPath resolveChild(String other)
public net.thevpc.nuts.io.NPath resolveChild(net.thevpc.nuts.io.NPath other)
public net.thevpc.nuts.io.NPath resolve(net.thevpc.nuts.io.NPath other)
public net.thevpc.nuts.io.NPath resolveSibling(String other)
public net.thevpc.nuts.io.NPath resolveSibling(net.thevpc.nuts.io.NPath other)
public byte[] readBytes(net.thevpc.nuts.io.NPathOption... options)
public net.thevpc.nuts.io.NPath writeBytes(byte[] bytes,
net.thevpc.nuts.io.NPathOption... options)
public String getProtocol()
public net.thevpc.nuts.io.NPath toCompressedForm()
public net.thevpc.nuts.util.NOptional<URL> toURL()
public net.thevpc.nuts.util.NOptional<Path> toPath()
public net.thevpc.nuts.util.NOptional<File> toFile()
public net.thevpc.nuts.util.NStream<net.thevpc.nuts.io.NPath> stream()
public InputStream getInputStream(net.thevpc.nuts.io.NPathOption... options)
public OutputStream getOutputStream(net.thevpc.nuts.io.NPathOption... options)
public net.thevpc.nuts.io.NPath deleteTree()
public net.thevpc.nuts.io.NPath ensureEmptyDirectory()
public net.thevpc.nuts.io.NPath ensureEmptyFile()
public net.thevpc.nuts.io.NPath delete(boolean recurse)
public net.thevpc.nuts.io.NPath mkdir(boolean parents)
public net.thevpc.nuts.io.NPath mkdirs()
public net.thevpc.nuts.io.NPath mkdir()
public net.thevpc.nuts.io.NPath mkParentDirs()
public boolean isOther()
public boolean isSymbolicLink()
public boolean isDirectory()
public boolean isRegularFile()
public boolean isRemote()
public boolean isLocal()
public boolean exists()
public long contentLength()
public Instant lastModifiedInstant()
public Instant lastAccessInstant()
public Instant getCreationInstant()
public net.thevpc.nuts.io.NPath getParent()
public boolean isAbsolute()
public net.thevpc.nuts.io.NPath normalize()
public net.thevpc.nuts.io.NPath toAbsolute()
public net.thevpc.nuts.io.NPath toAbsolute(String rootPath)
public net.thevpc.nuts.io.NPath toAbsolute(net.thevpc.nuts.io.NPath rootPath)
public String owner()
public String group()
public Set<net.thevpc.nuts.io.NPathPermission> getPermissions()
public net.thevpc.nuts.io.NPath setPermissions(net.thevpc.nuts.io.NPathPermission... permissions)
public net.thevpc.nuts.io.NPath addPermissions(net.thevpc.nuts.io.NPathPermission... permissions)
public net.thevpc.nuts.io.NPath removePermissions(net.thevpc.nuts.io.NPathPermission... permissions)
public boolean isName()
public int getNameCount()
public List<net.thevpc.nuts.io.NPathChildDigestInfo> listDigestInfo()
public List<net.thevpc.nuts.io.NPathChildStringDigestInfo> listStringDigestInfo()
public List<net.thevpc.nuts.io.NPathChildStringDigestInfo> listStringDigestInfo(String algo)
public boolean isRoot()
public net.thevpc.nuts.util.NStream<net.thevpc.nuts.io.NPath> walk(int maxDepth,
net.thevpc.nuts.io.NPathOption[] options)
public net.thevpc.nuts.io.NPath subpath(int beginIndex,
int endIndex)
public String getName(int index)
public void moveTo(net.thevpc.nuts.io.NPath other,
net.thevpc.nuts.io.NPathOption... options)
public void copyTo(net.thevpc.nuts.io.NPath other,
net.thevpc.nuts.io.NPathOption... options)
public net.thevpc.nuts.io.NPath getRoot()
public net.thevpc.nuts.io.NPath walkDfs(net.thevpc.nuts.format.NTreeVisitor<net.thevpc.nuts.io.NPath> visitor,
net.thevpc.nuts.io.NPathOption... options)
public net.thevpc.nuts.io.NPath walkDfs(net.thevpc.nuts.format.NTreeVisitor<net.thevpc.nuts.io.NPath> visitor,
int maxDepth,
net.thevpc.nuts.io.NPathOption... options)
public net.thevpc.nuts.util.NStream<net.thevpc.nuts.io.NPath> walkGlob(net.thevpc.nuts.io.NPathOption... options)
public String toString()
public byte[] getDigest(String algo)
public boolean isEqOrDeepChildOf(net.thevpc.nuts.io.NPath other)
public net.thevpc.nuts.io.NPathType type()
public net.thevpc.nuts.util.NOptional<String> toRelative(net.thevpc.nuts.io.NPath parentPath)
public boolean startsWith(net.thevpc.nuts.io.NPath other)
public int compareTo(net.thevpc.nuts.io.NPath other)
public boolean startsWith(String other)
Copyright © 2025 vpc open source initiative. All rights reserved.