public class NCompressedPath extends NPathBase
| Modifier and Type | Class and Description |
|---|---|
static class |
NCompressedPath.MyPathFormat |
NPathBase.PathFormatBUFFER_SIZE| Constructor and Description |
|---|
NCompressedPath(NPath base,
NCompressedPathHelper compressedPathHelper) |
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, ofIdStore, ofStore, ofSystemStore, ofTempFile, ofTempFile, ofTempFolder, ofTempFolder, ofTempIdFile, ofTempIdFile, ofTempIdFolder, ofTempIdFolder, ofTempRepositoryFile, ofTempRepositoryFile, ofTempRepositoryFolder, ofTempRepositoryFolder, ofUserDirectory, ofUserHome, ofUserStore, ofWorkspaceStore, 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 NCompressedPath(NPath base, NCompressedPathHelper compressedPathHelper)
public NPathSPI spi()
public NPath getBase()
public boolean startsWith(NPath other)
public boolean startsWith(String other)
public NPathType type()
public int compareTo(NPath 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 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 boolean isRegularFile()
public boolean isRemote()
public boolean isLocal()
public boolean exists()
public long contentLength()
public String getCharset()
getCharset in interface NInputContentProvidergetCharset in class AbstractNInputSourcepublic Instant lastModifiedInstant()
public Instant lastAccessInstant()
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 List<NPathChildDigestInfo> listDigestInfo(String algo)
public List<NPathChildStringDigestInfo> listStringDigestInfo()
public List<NPathChildStringDigestInfo> listStringDigestInfo(String algo)
Copyright © 2025 vpc open source initiative. All rights reserved.