public class NPathFromSPI extends NPathBase
NPathBase.PathObjectWriterBUFFER_SIZE| Constructor and Description |
|---|
NPathFromSPI(NPathSPI base) |
copyExtraFrom, copyFrom, copyFromInputStream, copyFromInputStreamProvider, copyFromReader, copyFromReader, copyToOutputStream, copyToPrintStream, copyToPrintStream, copyToWriter, copyToWriter, delete, deleteOnDispose, dispose, getBufferedReader, getBufferedReader, getBufferedWriter, getBufferedWriter, getBufferedWriter, getNPrintStream, getPrintStream, getPrintStream, getPrintStream, getReader, getReader, getSmartFileNameParts, getWriter, getWriter, getWriter, 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, nonNullCharset, readBytes, readString, 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, of, of, of, of, of, of, of, of, of, of, ofEmpty, ofMultiRead, readBytes, readString, readString, reversedLines, tail, tailof, of, of, ofpublic NPathFromSPI(NPathSPI base)
public NPathSPI spi()
public NPathSPI getBase()
public NStream<String> reversedLines(Charset cs)
reversedLines in interface NInputSourcereversedLines in class AbstractNInputSourcepublic NStream<String> lines(Charset cs)
lines in interface NInputSourcelines in class AbstractNInputSourcepublic NPath copy()
public String contentEncoding()
public String contentType()
contentType in interface NInputContentProvidercontentType in interface NPathcontentType in class AbstractNInputSourcepublic String charset()
charset in interface NInputContentProvidercharset in class AbstractNInputSourcepublic String name()
name in interface NInputContentProvidername in interface NPathname in class AbstractNInputSourcepublic String location()
public byte[] readBytes(NPathOption... options)
public NPath writeBytes(byte[] bytes, NPathOption... options)
public String protocol()
public NPath toCompressedForm()
public InputStream getInputStream(NPathOption... options)
public OutputStream getOutputStream(NPathOption... options)
public NPath deleteTree()
public NPath ensureEmptyDirectory()
public NPath ensureEmptyFile()
public NPath delete(boolean recurse)
public NPath mkdir(boolean parents)
public NPath mkdirs()
public NPath mkdir()
public NPath mkParentDirs()
public boolean isOther()
public boolean isSymlink()
public boolean isHidden()
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 creationInstant()
public NPath parent()
public boolean isAbsolute()
public NPath normalize()
public NPath toAbsolute()
public String owner()
public String group()
public Set<NPathPermission> permissions()
public NPath permissions(NPathPermission... permissions)
public NPath addPermissions(NPathPermission... permissions)
public NPath removePermissions(NPathPermission... permissions)
public boolean isName()
public int nameCount()
public List<NPathChildDigestInfo> listDigestInfo()
public List<NPathChildDigestInfo> listDigestInfo(String algo)
public List<NPathChildStringDigestInfo> listStringDigestInfo()
public List<NPathChildStringDigestInfo> listStringDigestInfo(String algo)
public boolean isRoot()
public NStream<NPath> walk(int maxDepth, NPathOption[] options)
public NPath subpath(int beginIndex, int endIndex)
public String nameAt(int index)
public void moveTo(NPath other, NPathOption... options)
public void copyTo(NPath other, NPathOption... options)
public NPath root()
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 byte[] getDigest(String algo)
getDigest in interface NInputSourcegetDigest in class NPathBasepublic NPathType type()
public boolean startsWith(NPath other)
public int compareTo(NPath other)
public boolean startsWith(String other)
public NPathInfo info()
Copyright © 2026 vpc open source initiative. All rights reserved.