public class NCompressedPathBase extends NPathBase
| Modifier and Type | Class and Description |
|---|---|
static class |
NCompressedPathBase.MyPathObjectWriter |
NPathBase.PathObjectWriterBUFFER_SIZE| Constructor and Description |
|---|
NCompressedPathBase(net.thevpc.nuts.io.NPath base) |
NCompressedPathBase(net.thevpc.nuts.io.NPath base,
String compressedForm,
net.thevpc.nuts.text.NText formattedCompressedForm) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.io.NPath |
addPermissions(net.thevpc.nuts.io.NPathPermission... permissions) |
String |
charset() |
int |
compareTo(net.thevpc.nuts.io.NPath other) |
static String |
compressUrl(String path) |
String |
contentEncoding() |
long |
contentLength() |
String |
contentType() |
net.thevpc.nuts.io.NPath |
copy() |
void |
copyTo(net.thevpc.nuts.io.NPath other,
net.thevpc.nuts.io.NPathOption... options) |
Instant |
creationInstant() |
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 |
exists() |
net.thevpc.nuts.io.NPath |
expandPath(Function<String,String> resolver) |
net.thevpc.nuts.io.NPath |
getBase() |
InputStream |
getInputStream(net.thevpc.nuts.io.NPathOption... options) |
OutputStream |
getOutputStream(net.thevpc.nuts.io.NPathOption... options) |
String |
group() |
net.thevpc.nuts.io.NPathInfo |
info() |
boolean |
isAbsolute() |
boolean |
isDirectory() |
boolean |
isHidden() |
boolean |
isLocal() |
boolean |
isName() |
boolean |
isOther() |
boolean |
isRegularFile() |
boolean |
isRemote() |
boolean |
isRoot() |
boolean |
isSymbolicLink() |
boolean |
isSymlink() |
Instant |
lastAccessInstant() |
Instant |
lastModifiedInstant() |
List<net.thevpc.nuts.io.NPathChildDigestInfo> |
listDigestInfo() |
List<net.thevpc.nuts.io.NPathChildDigestInfo> |
listDigestInfo(String algo) |
List<net.thevpc.nuts.io.NPathInfo> |
listInfos() |
List<net.thevpc.nuts.io.NPathChildStringDigestInfo> |
listStringDigestInfo() |
List<net.thevpc.nuts.io.NPathChildStringDigestInfo> |
listStringDigestInfo(String algo) |
String |
location() |
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) |
String |
name() |
String |
nameAt(int index) |
int |
nameCount() |
List<String> |
names() |
net.thevpc.nuts.io.NPath |
normalize() |
String |
owner() |
net.thevpc.nuts.io.NPath |
parent() |
Set<net.thevpc.nuts.io.NPathPermission> |
permissions() |
net.thevpc.nuts.io.NPath |
permissions(net.thevpc.nuts.io.NPathPermission... permissions) |
String |
protocol() |
byte[] |
readBytes(net.thevpc.nuts.io.NPathOption... options) |
net.thevpc.nuts.util.NOptional<String> |
relativize(net.thevpc.nuts.io.NPath basePath) |
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.io.NPath |
root() |
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.util.NOptional<String> |
stripParent(net.thevpc.nuts.io.NPath basePath) |
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 basePath) |
net.thevpc.nuts.io.NPath |
toAbsolute(String basePath) |
net.thevpc.nuts.io.NPath |
toCompressedForm() |
net.thevpc.nuts.util.NOptional<File> |
toFile() |
net.thevpc.nuts.util.NOptional<Path> |
toPath() |
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.text.NTreeVisitor<net.thevpc.nuts.io.NPath> visitor,
int maxDepth,
net.thevpc.nuts.io.NPathOption... options) |
net.thevpc.nuts.io.NPath |
walkDfs(net.thevpc.nuts.text.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, deleteOnDispose, dispose, equals, getBufferedReader, getBufferedReader, getBufferedWriter, getBufferedWriter, getBufferedWriter, getDigest, getNPrintStream, getPrintStream, getPrintStream, getPrintStream, getReader, getReader, getSmartFileNameParts, getWriter, getWriter, getWriter, hashCode, inputStream, isDeleteOnDispose, isFile, isHttp, isKnownContentLength, isMultiRead, isURL, isUserCache, isUserTemporary, list, metaData, nameParts, nameParts, outputStream, readString, readString, resolveSibling, toNutsString, unwrapPath, userCache, userTemporary, walk, walk, walk, writeString, writeStringasBufferedReader, asBufferedReader, asReader, asReader, digest, digestString, getDigestString, head, head, lines, lines, lines, lines, nonNullCharset, readBytes, readString, reversedLines, reversedLines, tail, tailclone, finalize, getClass, notify, notifyAll, wait, wait, waitof, of, of, of, of, of, of, of, ofOrigin, ofOrigins, ofTempFile, ofTempFile, ofTempFolder, ofTempFolder, ofTempIdFile, ofTempIdFile, ofTempIdFolder, ofTempIdFolder, ofTempRepositoryFile, ofTempRepositoryFile, ofTempRepositoryFolder, ofTempRepositoryFolder, ofUserDirectory, ofUserHome, writeMsg, writeObject, writeTextasBufferedReader, asBufferedReader, asReader, asReader, digest, digestString, getDigestString, head, head, lines, lines, lines, lines, of, of, of, of, of, of, of, of, of, of, ofEmpty, ofMultiRead, readBytes, readString, readString, reversedLines, reversedLines, tail, tailpublic NCompressedPathBase(net.thevpc.nuts.io.NPath base)
public NCompressedPathBase(net.thevpc.nuts.io.NPath base,
String compressedForm,
net.thevpc.nuts.text.NText formattedCompressedForm)
public net.thevpc.nuts.io.NPath getBase()
public boolean isHidden()
public boolean isSymlink()
public net.thevpc.nuts.spi.NPathSPI spi()
public boolean startsWith(net.thevpc.nuts.io.NPath other)
public boolean startsWith(String other)
public net.thevpc.nuts.io.NPath copy()
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 ensureEmptyDirectory()
public net.thevpc.nuts.io.NPath ensureEmptyFile()
public String contentEncoding()
public String contentType()
contentType in interface net.thevpc.nuts.io.NInputContentProvidercontentType in interface net.thevpc.nuts.io.NPathcontentType in class AbstractNInputSourcepublic String charset()
charset in interface net.thevpc.nuts.io.NInputContentProvidercharset in class AbstractNInputSourcepublic String name()
name in interface net.thevpc.nuts.io.NInputContentProvidername in interface net.thevpc.nuts.io.NPathname in class AbstractNInputSourcepublic String location()
public net.thevpc.nuts.io.NPath resolve(String 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 protocol()
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 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 net.thevpc.nuts.io.NPathType type()
public boolean isRegularFile()
public boolean isRemote()
public boolean isLocal()
public boolean exists()
public long contentLength()
public Instant lastModifiedInstant()
public Instant lastAccessInstant()
public Instant creationInstant()
public net.thevpc.nuts.io.NPath parent()
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 basePath)
public net.thevpc.nuts.io.NPath toAbsolute(net.thevpc.nuts.io.NPath basePath)
public net.thevpc.nuts.util.NOptional<String> stripParent(net.thevpc.nuts.io.NPath basePath)
public net.thevpc.nuts.util.NOptional<String> relativize(net.thevpc.nuts.io.NPath basePath)
public String owner()
public String group()
public Set<net.thevpc.nuts.io.NPathPermission> permissions()
public net.thevpc.nuts.io.NPath permissions(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 nameCount()
public List<net.thevpc.nuts.io.NPathChildDigestInfo> listDigestInfo()
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 nameAt(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 root()
public net.thevpc.nuts.io.NPath walkDfs(net.thevpc.nuts.text.NTreeVisitor<net.thevpc.nuts.io.NPath> visitor,
net.thevpc.nuts.io.NPathOption... options)
public net.thevpc.nuts.io.NPath walkDfs(net.thevpc.nuts.text.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 int compareTo(net.thevpc.nuts.io.NPath other)
public List<net.thevpc.nuts.io.NPathChildStringDigestInfo> listStringDigestInfo()
public List<net.thevpc.nuts.io.NPathChildStringDigestInfo> listStringDigestInfo(String algo)
public net.thevpc.nuts.io.NPathInfo info()
public List<net.thevpc.nuts.io.NPathInfo> listInfos()
Copyright © 2026 vpc open source initiative. All rights reserved.