public class NCompressedPathBase extends NPathBase
| Modifier and Type | Class and Description |
|---|---|
static class |
NCompressedPathBase.MyPathObjectWriter |
NPathBase.PathObjectWriterBUFFER_SIZE| Constructor and Description |
|---|
NCompressedPathBase(NPath base) |
NCompressedPathBase(NPath base,
String compressedForm,
NText formattedCompressedForm) |
copyExtraFrom, copyFrom, copyFromInputStream, copyFromInputStreamProvider, copyFromReader, copyFromReader, copyToOutputStream, copyToPrintStream, copyToPrintStream, copyToWriter, copyToWriter, delete, dispose, equals, getBufferedReader, getBufferedReader, getBufferedWriter, getBufferedWriter, getBufferedWriter, getDigest, getInputStream, getMetaData, getNPrintStream, getOutputStream, getPrintStream, getPrintStream, getPrintStream, getReader, getReader, getSmartFileNameParts, getWriter, getWriter, getWriter, hashCode, isDeleteOnDispose, isFile, isHttp, isKnownContentLength, isMultiRead, isURL, isUserCache, isUserTemporary, list, nameParts, nameParts, readString, readString, resolveSibling, 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, of, ofOrigin, ofOrigins, ofTempFile, ofTempFile, ofTempFolder, ofTempFolder, ofTempIdFile, ofTempIdFile, ofTempIdFolder, ofTempIdFolder, ofTempRepositoryFile, ofTempRepositoryFile, ofTempRepositoryFolder, ofTempRepositoryFolder, ofUserDirectory, ofUserHome, 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, tailof, of, of, ofpublic NCompressedPathBase(NPath base)
public NPath getBase()
public NPathSPI spi()
public boolean startsWith(NPath other)
public boolean startsWith(String other)
public NPath copy()
public NPath ensureEmptyDirectory()
public NPath ensureEmptyFile()
public String contentEncoding()
public String getContentType()
getContentType in interface NInputContentProvidergetContentType in interface NPathgetContentType in class AbstractNInputSourcepublic String getCharset()
getCharset in interface NInputContentProvidergetCharset in class AbstractNInputSourcepublic String getName()
getName in interface NInputContentProvidergetName in interface NPathgetName in class AbstractNInputSourcepublic String getLocation()
public byte[] readBytes(NPathOption... options)
public NPath writeBytes(byte[] bytes, NPathOption... options)
public String getProtocol()
public NPath toCompressedForm()
public InputStream getInputStream(NPathOption... options)
public OutputStream getOutputStream(NPathOption... options)
public NPath deleteTree()
public NPath delete(boolean recurse)
public NPath mkdir(boolean parents)
public NPath mkdirs()
public NPath mkdir()
public NPath mkParentDirs()
public boolean isOther()
public boolean isSymbolicLink()
public boolean isDirectory()
public NPathType type()
public boolean isRegularFile()
public boolean isRemote()
public boolean isLocal()
public boolean exists()
public long getContentLength()
public Instant getLastModifiedInstant()
public Instant getLastAccessInstant()
public Instant getCreationInstant()
public NPath getParent()
public boolean isAbsolute()
public NPath normalize()
public NPath toAbsolute()
public String owner()
public String group()
public Set<NPathPermission> getPermissions()
public NPath setPermissions(NPathPermission... permissions)
public NPath addPermissions(NPathPermission... permissions)
public NPath removePermissions(NPathPermission... permissions)
public boolean isName()
public int getNameCount()
public List<NPathChildDigestInfo> listDigestInfo()
public boolean isRoot()
public NStream<NPath> walk(int maxDepth, NPathOption[] options)
public NPath subpath(int beginIndex, int endIndex)
public String getName(int index)
public void moveTo(NPath other, NPathOption... options)
public void copyTo(NPath other, NPathOption... options)
public NPath getRoot()
public NPath walkDfs(NTreeVisitor<NPath> visitor, NPathOption... options)
public NPath walkDfs(NTreeVisitor<NPath> visitor, int maxDepth, NPathOption... options)
public NStream<NPath> walkGlob(NPathOption... options)
public String toString()
public boolean isEqOrDeepChildOf(NPath other)
public int compareTo(NPath other)
public List<NPathChildDigestInfo> listDigestInfo(String algo)
public List<NPathChildStringDigestInfo> listStringDigestInfo()
public List<NPathChildStringDigestInfo> listStringDigestInfo(String algo)
public NPathInfo getInfo()
Copyright © 2026 vpc open source initiative. All rights reserved.