public abstract class AbstractPathSPIAdapter extends Object implements NPathSPI
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPathSPIAdapter(NPath ref) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitlistDigestInfo, reversedLines, toRelativeprotected NPath ref
protected AbstractPathSPIAdapter(NPath ref)
public String toString()
public NFormatSPI formatter(NPath basePath)
public String getProtocol(NPath basePath)
getProtocol in interface NPathSPIpublic NPath resolveSibling(NPath basePath, String path)
resolveSibling in interface NPathSPIpublic NPath toCompressedForm(NPath basePath)
toCompressedForm in interface NPathSPIpublic long contentLength(NPath basePath)
contentLength in interface NPathSPIpublic String getContentEncoding(NPath basePath)
getContentEncoding in interface NPathSPIpublic String getContentType(NPath basePath)
getContentType in interface NPathSPIpublic String getCharset(NPath basePath)
getCharset in interface NPathSPIpublic String getLocation(NPath basePath)
getLocation in interface NPathSPIpublic InputStream getInputStream(NPath basePath, NPathOption... options)
getInputStream in interface NPathSPIpublic OutputStream getOutputStream(NPath basePath, NPathOption... options)
getOutputStream in interface NPathSPIpublic void delete(NPath basePath, boolean recurse)
public Instant getLastModifiedInstant(NPath basePath)
getLastModifiedInstant in interface NPathSPIpublic Instant getLastAccessInstant(NPath basePath)
getLastAccessInstant in interface NPathSPIpublic Instant getCreationInstant(NPath basePath)
getCreationInstant in interface NPathSPIpublic NPath toAbsolute(NPath basePath, NPath rootPath)
toAbsolute in interface NPathSPIpublic boolean isAbsolute(NPath basePath)
isAbsolute in interface NPathSPIpublic Set<NPathPermission> getPermissions(NPath basePath)
getPermissions in interface NPathSPIpublic void setPermissions(NPath basePath, NPathPermission... permissions)
setPermissions in interface NPathSPIpublic void addPermissions(NPath basePath, NPathPermission... permissions)
addPermissions in interface NPathSPIpublic void removePermissions(NPath basePath, NPathPermission... permissions)
removePermissions in interface NPathSPIpublic Integer getNameCount(NPath basePath)
getNameCount in interface NPathSPIpublic NStream<NPath> walk(NPath basePath, int maxDepth, NPathOption[] options)
public boolean moveTo(NPath basePath, NPath other, NPathOption... options)
public boolean copyTo(NPath basePath, NPath other, NPathOption... options)
public boolean walkDfs(NPath basePath, NTreeVisitor<NPath> visitor, int maxDepth, NPathOption... options)
Copyright © 2025 vpc open source initiative. All rights reserved.