public abstract class AbstractPathSPIAdapter extends Object implements net.thevpc.nuts.spi.NPathSPI
| Modifier and Type | Field and Description |
|---|---|
protected net.thevpc.nuts.io.NPath |
ref |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPathSPIAdapter(net.thevpc.nuts.io.NPath ref) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPermissions(net.thevpc.nuts.io.NPath basePath,
net.thevpc.nuts.io.NPathPermission... permissions) |
Integer |
compareTo(net.thevpc.nuts.io.NPath basePath,
net.thevpc.nuts.io.NPath other) |
long |
contentLength(net.thevpc.nuts.io.NPath basePath) |
boolean |
copyTo(net.thevpc.nuts.io.NPath basePath,
net.thevpc.nuts.io.NPath other,
net.thevpc.nuts.io.NPathOption... options) |
void |
delete(net.thevpc.nuts.io.NPath basePath,
boolean recurse) |
boolean |
equals(Object o) |
boolean |
exists(net.thevpc.nuts.io.NPath basePath) |
net.thevpc.nuts.spi.NFormatSPI |
formatter(net.thevpc.nuts.io.NPath basePath) |
String |
getCharset(net.thevpc.nuts.io.NPath basePath) |
String |
getContentEncoding(net.thevpc.nuts.io.NPath basePath) |
String |
getContentType(net.thevpc.nuts.io.NPath basePath) |
Instant |
getCreationInstant(net.thevpc.nuts.io.NPath basePath) |
byte[] |
getDigest(net.thevpc.nuts.io.NPath basePath,
String algo) |
InputStream |
getInputStream(net.thevpc.nuts.io.NPath basePath,
net.thevpc.nuts.io.NPathOption... options) |
Instant |
getLastAccessInstant(net.thevpc.nuts.io.NPath basePath) |
Instant |
getLastModifiedInstant(net.thevpc.nuts.io.NPath basePath) |
String |
getLocation(net.thevpc.nuts.io.NPath basePath) |
String |
getName(net.thevpc.nuts.io.NPath basePath) |
Integer |
getNameCount(net.thevpc.nuts.io.NPath basePath) |
List<String> |
getNames(net.thevpc.nuts.io.NPath basePath) |
OutputStream |
getOutputStream(net.thevpc.nuts.io.NPath basePath,
net.thevpc.nuts.io.NPathOption... options) |
net.thevpc.nuts.io.NPath |
getParent(net.thevpc.nuts.io.NPath basePath) |
Set<net.thevpc.nuts.io.NPathPermission> |
getPermissions(net.thevpc.nuts.io.NPath basePath) |
String |
getProtocol(net.thevpc.nuts.io.NPath basePath) |
net.thevpc.nuts.io.NPath |
getRoot(net.thevpc.nuts.io.NPath basePath) |
String |
group(net.thevpc.nuts.io.NPath basePath) |
int |
hashCode() |
boolean |
isAbsolute(net.thevpc.nuts.io.NPath basePath) |
boolean |
isLocal(net.thevpc.nuts.io.NPath basePath) |
Boolean |
isName(net.thevpc.nuts.io.NPath basePath) |
Boolean |
isRoot(net.thevpc.nuts.io.NPath basePath) |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.io.NPath> |
list(net.thevpc.nuts.io.NPath basePath) |
void |
mkdir(boolean parents,
net.thevpc.nuts.io.NPath basePath) |
boolean |
moveTo(net.thevpc.nuts.io.NPath basePath,
net.thevpc.nuts.io.NPath other,
net.thevpc.nuts.io.NPathOption... options) |
net.thevpc.nuts.io.NPath |
normalize(net.thevpc.nuts.io.NPath basePath) |
String |
owner(net.thevpc.nuts.io.NPath basePath) |
void |
removePermissions(net.thevpc.nuts.io.NPath basePath,
net.thevpc.nuts.io.NPathPermission... permissions) |
net.thevpc.nuts.io.NPath |
resolve(net.thevpc.nuts.io.NPath basePath,
String path) |
net.thevpc.nuts.io.NPath |
resolveSibling(net.thevpc.nuts.io.NPath basePath,
String path) |
void |
setPermissions(net.thevpc.nuts.io.NPath basePath,
net.thevpc.nuts.io.NPathPermission... permissions) |
net.thevpc.nuts.io.NPath |
subpath(net.thevpc.nuts.io.NPath basePath,
int beginIndex,
int endIndex) |
net.thevpc.nuts.io.NPath |
toAbsolute(net.thevpc.nuts.io.NPath basePath,
net.thevpc.nuts.io.NPath rootPath) |
net.thevpc.nuts.io.NPath |
toCompressedForm(net.thevpc.nuts.io.NPath basePath) |
net.thevpc.nuts.util.NOptional<Path> |
toPath(net.thevpc.nuts.io.NPath basePath) |
String |
toString() |
net.thevpc.nuts.util.NOptional<URL> |
toURL(net.thevpc.nuts.io.NPath basePath) |
net.thevpc.nuts.io.NPathType |
type(net.thevpc.nuts.io.NPath basePath) |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.io.NPath> |
walk(net.thevpc.nuts.io.NPath basePath,
int maxDepth,
net.thevpc.nuts.io.NPathOption[] options) |
boolean |
walkDfs(net.thevpc.nuts.io.NPath basePath,
net.thevpc.nuts.format.NTreeVisitor<net.thevpc.nuts.io.NPath> visitor,
int maxDepth,
net.thevpc.nuts.io.NPathOption... options) |
protected AbstractPathSPIAdapter(net.thevpc.nuts.io.NPath ref)
public String toString()
public net.thevpc.nuts.util.NStream<net.thevpc.nuts.io.NPath> list(net.thevpc.nuts.io.NPath basePath)
list in interface net.thevpc.nuts.spi.NPathSPIpublic net.thevpc.nuts.spi.NFormatSPI formatter(net.thevpc.nuts.io.NPath basePath)
formatter in interface net.thevpc.nuts.spi.NPathSPIpublic String getName(net.thevpc.nuts.io.NPath basePath)
getName in interface net.thevpc.nuts.spi.NPathSPIpublic String getProtocol(net.thevpc.nuts.io.NPath basePath)
getProtocol in interface net.thevpc.nuts.spi.NPathSPIpublic net.thevpc.nuts.io.NPath resolve(net.thevpc.nuts.io.NPath basePath,
String path)
resolve in interface net.thevpc.nuts.spi.NPathSPIpublic net.thevpc.nuts.io.NPath resolveSibling(net.thevpc.nuts.io.NPath basePath,
String path)
resolveSibling in interface net.thevpc.nuts.spi.NPathSPIpublic net.thevpc.nuts.io.NPath toCompressedForm(net.thevpc.nuts.io.NPath basePath)
toCompressedForm in interface net.thevpc.nuts.spi.NPathSPIpublic net.thevpc.nuts.util.NOptional<URL> toURL(net.thevpc.nuts.io.NPath basePath)
toURL in interface net.thevpc.nuts.spi.NPathSPIpublic net.thevpc.nuts.util.NOptional<Path> toPath(net.thevpc.nuts.io.NPath basePath)
toPath in interface net.thevpc.nuts.spi.NPathSPIpublic net.thevpc.nuts.io.NPathType type(net.thevpc.nuts.io.NPath basePath)
type in interface net.thevpc.nuts.spi.NPathSPIpublic boolean exists(net.thevpc.nuts.io.NPath basePath)
exists in interface net.thevpc.nuts.spi.NPathSPIpublic long contentLength(net.thevpc.nuts.io.NPath basePath)
contentLength in interface net.thevpc.nuts.spi.NPathSPIpublic String getContentEncoding(net.thevpc.nuts.io.NPath basePath)
getContentEncoding in interface net.thevpc.nuts.spi.NPathSPIpublic String getContentType(net.thevpc.nuts.io.NPath basePath)
getContentType in interface net.thevpc.nuts.spi.NPathSPIpublic String getCharset(net.thevpc.nuts.io.NPath basePath)
getCharset in interface net.thevpc.nuts.spi.NPathSPIpublic String getLocation(net.thevpc.nuts.io.NPath basePath)
getLocation in interface net.thevpc.nuts.spi.NPathSPIpublic InputStream getInputStream(net.thevpc.nuts.io.NPath basePath, net.thevpc.nuts.io.NPathOption... options)
getInputStream in interface net.thevpc.nuts.spi.NPathSPIpublic OutputStream getOutputStream(net.thevpc.nuts.io.NPath basePath, net.thevpc.nuts.io.NPathOption... options)
getOutputStream in interface net.thevpc.nuts.spi.NPathSPIpublic void delete(net.thevpc.nuts.io.NPath basePath,
boolean recurse)
delete in interface net.thevpc.nuts.spi.NPathSPIpublic void mkdir(boolean parents,
net.thevpc.nuts.io.NPath basePath)
mkdir in interface net.thevpc.nuts.spi.NPathSPIpublic Instant getLastModifiedInstant(net.thevpc.nuts.io.NPath basePath)
getLastModifiedInstant in interface net.thevpc.nuts.spi.NPathSPIpublic Instant getLastAccessInstant(net.thevpc.nuts.io.NPath basePath)
getLastAccessInstant in interface net.thevpc.nuts.spi.NPathSPIpublic Instant getCreationInstant(net.thevpc.nuts.io.NPath basePath)
getCreationInstant in interface net.thevpc.nuts.spi.NPathSPIpublic net.thevpc.nuts.io.NPath getParent(net.thevpc.nuts.io.NPath basePath)
getParent in interface net.thevpc.nuts.spi.NPathSPIpublic net.thevpc.nuts.io.NPath toAbsolute(net.thevpc.nuts.io.NPath basePath,
net.thevpc.nuts.io.NPath rootPath)
toAbsolute in interface net.thevpc.nuts.spi.NPathSPIpublic net.thevpc.nuts.io.NPath normalize(net.thevpc.nuts.io.NPath basePath)
normalize in interface net.thevpc.nuts.spi.NPathSPIpublic boolean isAbsolute(net.thevpc.nuts.io.NPath basePath)
isAbsolute in interface net.thevpc.nuts.spi.NPathSPIpublic String owner(net.thevpc.nuts.io.NPath basePath)
owner in interface net.thevpc.nuts.spi.NPathSPIpublic String group(net.thevpc.nuts.io.NPath basePath)
group in interface net.thevpc.nuts.spi.NPathSPIpublic Set<net.thevpc.nuts.io.NPathPermission> getPermissions(net.thevpc.nuts.io.NPath basePath)
getPermissions in interface net.thevpc.nuts.spi.NPathSPIpublic void setPermissions(net.thevpc.nuts.io.NPath basePath,
net.thevpc.nuts.io.NPathPermission... permissions)
setPermissions in interface net.thevpc.nuts.spi.NPathSPIpublic void addPermissions(net.thevpc.nuts.io.NPath basePath,
net.thevpc.nuts.io.NPathPermission... permissions)
addPermissions in interface net.thevpc.nuts.spi.NPathSPIpublic void removePermissions(net.thevpc.nuts.io.NPath basePath,
net.thevpc.nuts.io.NPathPermission... permissions)
removePermissions in interface net.thevpc.nuts.spi.NPathSPIpublic Boolean isName(net.thevpc.nuts.io.NPath basePath)
isName in interface net.thevpc.nuts.spi.NPathSPIpublic Integer getNameCount(net.thevpc.nuts.io.NPath basePath)
getNameCount in interface net.thevpc.nuts.spi.NPathSPIpublic Boolean isRoot(net.thevpc.nuts.io.NPath basePath)
isRoot in interface net.thevpc.nuts.spi.NPathSPIpublic boolean isLocal(net.thevpc.nuts.io.NPath basePath)
isLocal in interface net.thevpc.nuts.spi.NPathSPIpublic net.thevpc.nuts.io.NPath getRoot(net.thevpc.nuts.io.NPath basePath)
getRoot in interface net.thevpc.nuts.spi.NPathSPIpublic net.thevpc.nuts.util.NStream<net.thevpc.nuts.io.NPath> walk(net.thevpc.nuts.io.NPath basePath,
int maxDepth,
net.thevpc.nuts.io.NPathOption[] options)
walk in interface net.thevpc.nuts.spi.NPathSPIpublic net.thevpc.nuts.io.NPath subpath(net.thevpc.nuts.io.NPath basePath,
int beginIndex,
int endIndex)
subpath in interface net.thevpc.nuts.spi.NPathSPIpublic List<String> getNames(net.thevpc.nuts.io.NPath basePath)
getNames in interface net.thevpc.nuts.spi.NPathSPIpublic boolean moveTo(net.thevpc.nuts.io.NPath basePath,
net.thevpc.nuts.io.NPath other,
net.thevpc.nuts.io.NPathOption... options)
moveTo in interface net.thevpc.nuts.spi.NPathSPIpublic boolean copyTo(net.thevpc.nuts.io.NPath basePath,
net.thevpc.nuts.io.NPath other,
net.thevpc.nuts.io.NPathOption... options)
copyTo in interface net.thevpc.nuts.spi.NPathSPIpublic boolean walkDfs(net.thevpc.nuts.io.NPath basePath,
net.thevpc.nuts.format.NTreeVisitor<net.thevpc.nuts.io.NPath> visitor,
int maxDepth,
net.thevpc.nuts.io.NPathOption... options)
walkDfs in interface net.thevpc.nuts.spi.NPathSPIpublic byte[] getDigest(net.thevpc.nuts.io.NPath basePath,
String algo)
getDigest in interface net.thevpc.nuts.spi.NPathSPIpublic Integer compareTo(net.thevpc.nuts.io.NPath basePath, net.thevpc.nuts.io.NPath other)
compareTo in interface net.thevpc.nuts.spi.NPathSPICopyright © 2025 vpc open source initiative. All rights reserved.