public class NCompressedPathBase extends NPathBase
| Modifier and Type | Class and Description |
|---|---|
static class |
NCompressedPathBase.MyPathFormat |
NPathBase.PathFormatBUFFER_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) |
int |
compareTo(net.thevpc.nuts.io.NPath other) |
static String |
compressUrl(String path) |
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 |
exists() |
net.thevpc.nuts.io.NPath |
expandPath(Function<String,String> resolver) |
net.thevpc.nuts.io.NPath |
getBase() |
String |
getCharset() |
String |
getContentType() |
Instant |
getCreationInstant() |
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() |
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() |
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.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 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() |
net.thevpc.nuts.util.NOptional<String> |
toRelative(net.thevpc.nuts.io.NPath basePath) |
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, equals, getBufferedReader, getBufferedReader, getBufferedWriter, getBufferedWriter, getBufferedWriter, getDigest, getInputStream, getMetaData, getNameParts, getNameParts, getNPrintStream, getOutputStream, getPrintStream, getPrintStream, getPrintStream, getReader, getReader, getSmartFileNameParts, getWriter, getWriter, getWriter, hashCode, 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, lines, nonNullCharset, readBytes, readString, reversedLines, 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, 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 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 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 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 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 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 basePath)
public net.thevpc.nuts.io.NPath toAbsolute(net.thevpc.nuts.io.NPath basePath)
public net.thevpc.nuts.util.NOptional<String> toRelative(net.thevpc.nuts.io.NPath basePath)
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 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 boolean isEqOrDeepChildOf(net.thevpc.nuts.io.NPath other)
public int compareTo(net.thevpc.nuts.io.NPath other)
public List<net.thevpc.nuts.io.NPathChildStringDigestInfo> listStringDigestInfo()
Copyright © 2025 vpc open source initiative. All rights reserved.