public class GithubfsPath extends AbstractPathSPIAdapter
| Modifier and Type | Class and Description |
|---|---|
static class |
GithubfsPath.GithubfsFactory |
| Modifier and Type | Field and Description |
|---|---|
static String |
PREFIX |
static String |
PROTOCOL |
ref, session| Constructor and Description |
|---|
GithubfsPath(String url,
net.thevpc.nuts.NutsSession session) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyTo(net.thevpc.nuts.NutsPath basePath,
net.thevpc.nuts.NutsPath other,
net.thevpc.nuts.NutsPathOption... options) |
boolean |
equals(Object o) |
boolean |
exists(net.thevpc.nuts.NutsPath basePath) |
net.thevpc.nuts.spi.NutsFormatSPI |
formatter(net.thevpc.nuts.NutsPath basePath) |
String |
getContentEncoding(net.thevpc.nuts.NutsPath basePath) |
long |
getContentLength(net.thevpc.nuts.NutsPath basePath) |
String |
getContentType(net.thevpc.nuts.NutsPath basePath) |
Instant |
getCreationInstant(net.thevpc.nuts.NutsPath basePath) |
InputStream |
getInputStream(net.thevpc.nuts.NutsPath basePath) |
Instant |
getLastAccessInstant(net.thevpc.nuts.NutsPath basePath) |
Instant |
getLastModifiedInstant(net.thevpc.nuts.NutsPath basePath) |
OutputStream |
getOutputStream(net.thevpc.nuts.NutsPath basePath) |
net.thevpc.nuts.NutsPath |
getParent(net.thevpc.nuts.NutsPath basePath) |
String |
getProtocol(net.thevpc.nuts.NutsPath basePath) |
net.thevpc.nuts.NutsPath |
getRoot(net.thevpc.nuts.NutsPath basePath) |
int |
hashCode() |
boolean |
isDirectory(net.thevpc.nuts.NutsPath basePath) |
boolean |
isLocal(net.thevpc.nuts.NutsPath basePath) |
boolean |
isName(net.thevpc.nuts.NutsPath basePath) |
boolean |
isOther(net.thevpc.nuts.NutsPath basePath) |
boolean |
isRegularFile(net.thevpc.nuts.NutsPath basePath) |
boolean |
isRoot(net.thevpc.nuts.NutsPath basePath) |
boolean |
isSymbolicLink(net.thevpc.nuts.NutsPath basePath) |
net.thevpc.nuts.NutsStream<net.thevpc.nuts.NutsPath> |
list(net.thevpc.nuts.NutsPath basePath) |
net.thevpc.nuts.NutsPath |
normalize(net.thevpc.nuts.NutsPath basePath) |
net.thevpc.nuts.NutsPath |
resolve(net.thevpc.nuts.NutsPath basePath,
net.thevpc.nuts.NutsPath path) |
net.thevpc.nuts.NutsPath |
resolve(net.thevpc.nuts.NutsPath basePath,
String path) |
net.thevpc.nuts.NutsPath |
resolveSibling(net.thevpc.nuts.NutsPath basePath,
net.thevpc.nuts.NutsPath path) |
net.thevpc.nuts.NutsPath |
resolveSibling(net.thevpc.nuts.NutsPath basePath,
String path) |
net.thevpc.nuts.NutsPath |
toAbsolute(net.thevpc.nuts.NutsPath basePath,
net.thevpc.nuts.NutsPath rootPath) |
String |
toString() |
net.thevpc.nuts.NutsStream<net.thevpc.nuts.NutsPath> |
walk(net.thevpc.nuts.NutsPath basePath,
int maxDepth,
net.thevpc.nuts.NutsPathOption[] options) |
void |
walkDfs(net.thevpc.nuts.NutsPath basePath,
net.thevpc.nuts.NutsTreeVisitor<net.thevpc.nuts.NutsPath> visitor,
int maxDepth,
net.thevpc.nuts.NutsPathOption... options) |
addPermissions, delete, getItems, getLocation, getName, getPathCount, getPermissions, getSession, group, isAbsolute, mkdir, moveTo, owner, removePermissions, setPermissions, subpath, toCompressedForm, toFile, toRelativePath, toURLpublic static final String PROTOCOL
public static final String PREFIX
public GithubfsPath(String url, net.thevpc.nuts.NutsSession session)
public int hashCode()
hashCode in class AbstractPathSPIAdapterpublic boolean equals(Object o)
equals in class AbstractPathSPIAdapterpublic String toString()
toString in interface net.thevpc.nuts.spi.NutsPathSPItoString in class AbstractPathSPIAdapterpublic net.thevpc.nuts.NutsStream<net.thevpc.nuts.NutsPath> list(net.thevpc.nuts.NutsPath basePath)
list in interface net.thevpc.nuts.spi.NutsPathSPIlist in class AbstractPathSPIAdapterpublic net.thevpc.nuts.spi.NutsFormatSPI formatter(net.thevpc.nuts.NutsPath basePath)
formatter in interface net.thevpc.nuts.spi.NutsPathSPIformatter in class AbstractPathSPIAdapterpublic String getProtocol(net.thevpc.nuts.NutsPath basePath)
getProtocol in interface net.thevpc.nuts.spi.NutsPathSPIgetProtocol in class AbstractPathSPIAdapterpublic net.thevpc.nuts.NutsPath resolve(net.thevpc.nuts.NutsPath basePath,
String path)
resolve in interface net.thevpc.nuts.spi.NutsPathSPIresolve in class AbstractPathSPIAdapterpublic net.thevpc.nuts.NutsPath resolve(net.thevpc.nuts.NutsPath basePath,
net.thevpc.nuts.NutsPath path)
resolve in interface net.thevpc.nuts.spi.NutsPathSPIresolve in class AbstractPathSPIAdapterpublic net.thevpc.nuts.NutsPath resolveSibling(net.thevpc.nuts.NutsPath basePath,
String path)
resolveSibling in interface net.thevpc.nuts.spi.NutsPathSPIresolveSibling in class AbstractPathSPIAdapterpublic net.thevpc.nuts.NutsPath resolveSibling(net.thevpc.nuts.NutsPath basePath,
net.thevpc.nuts.NutsPath path)
resolveSibling in interface net.thevpc.nuts.spi.NutsPathSPIresolveSibling in class AbstractPathSPIAdapterpublic boolean isSymbolicLink(net.thevpc.nuts.NutsPath basePath)
isSymbolicLink in interface net.thevpc.nuts.spi.NutsPathSPIisSymbolicLink in class AbstractPathSPIAdapterpublic boolean isOther(net.thevpc.nuts.NutsPath basePath)
isOther in interface net.thevpc.nuts.spi.NutsPathSPIisOther in class AbstractPathSPIAdapterpublic boolean isDirectory(net.thevpc.nuts.NutsPath basePath)
isDirectory in interface net.thevpc.nuts.spi.NutsPathSPIisDirectory in class AbstractPathSPIAdapterpublic boolean isRegularFile(net.thevpc.nuts.NutsPath basePath)
isRegularFile in interface net.thevpc.nuts.spi.NutsPathSPIisRegularFile in class AbstractPathSPIAdapterpublic boolean exists(net.thevpc.nuts.NutsPath basePath)
exists in interface net.thevpc.nuts.spi.NutsPathSPIexists in class AbstractPathSPIAdapterpublic long getContentLength(net.thevpc.nuts.NutsPath basePath)
getContentLength in interface net.thevpc.nuts.spi.NutsPathSPIgetContentLength in class AbstractPathSPIAdapterpublic String getContentEncoding(net.thevpc.nuts.NutsPath basePath)
getContentEncoding in interface net.thevpc.nuts.spi.NutsPathSPIgetContentEncoding in class AbstractPathSPIAdapterpublic String getContentType(net.thevpc.nuts.NutsPath basePath)
getContentType in interface net.thevpc.nuts.spi.NutsPathSPIgetContentType in class AbstractPathSPIAdapterpublic InputStream getInputStream(net.thevpc.nuts.NutsPath basePath)
getInputStream in interface net.thevpc.nuts.spi.NutsPathSPIgetInputStream in class AbstractPathSPIAdapterpublic OutputStream getOutputStream(net.thevpc.nuts.NutsPath basePath)
getOutputStream in interface net.thevpc.nuts.spi.NutsPathSPIgetOutputStream in class AbstractPathSPIAdapterpublic Instant getLastModifiedInstant(net.thevpc.nuts.NutsPath basePath)
getLastModifiedInstant in interface net.thevpc.nuts.spi.NutsPathSPIgetLastModifiedInstant in class AbstractPathSPIAdapterpublic Instant getLastAccessInstant(net.thevpc.nuts.NutsPath basePath)
getLastAccessInstant in interface net.thevpc.nuts.spi.NutsPathSPIgetLastAccessInstant in class AbstractPathSPIAdapterpublic Instant getCreationInstant(net.thevpc.nuts.NutsPath basePath)
getCreationInstant in interface net.thevpc.nuts.spi.NutsPathSPIgetCreationInstant in class AbstractPathSPIAdapterpublic net.thevpc.nuts.NutsPath getParent(net.thevpc.nuts.NutsPath basePath)
getParent in interface net.thevpc.nuts.spi.NutsPathSPIgetParent in class AbstractPathSPIAdapterpublic net.thevpc.nuts.NutsPath toAbsolute(net.thevpc.nuts.NutsPath basePath,
net.thevpc.nuts.NutsPath rootPath)
toAbsolute in interface net.thevpc.nuts.spi.NutsPathSPItoAbsolute in class AbstractPathSPIAdapterpublic net.thevpc.nuts.NutsPath normalize(net.thevpc.nuts.NutsPath basePath)
normalize in interface net.thevpc.nuts.spi.NutsPathSPInormalize in class AbstractPathSPIAdapterpublic boolean isName(net.thevpc.nuts.NutsPath basePath)
isName in interface net.thevpc.nuts.spi.NutsPathSPIisName in class AbstractPathSPIAdapterpublic boolean isRoot(net.thevpc.nuts.NutsPath basePath)
isRoot in interface net.thevpc.nuts.spi.NutsPathSPIisRoot in class AbstractPathSPIAdapterpublic net.thevpc.nuts.NutsPath getRoot(net.thevpc.nuts.NutsPath basePath)
getRoot in interface net.thevpc.nuts.spi.NutsPathSPIgetRoot in class AbstractPathSPIAdapterpublic net.thevpc.nuts.NutsStream<net.thevpc.nuts.NutsPath> walk(net.thevpc.nuts.NutsPath basePath,
int maxDepth,
net.thevpc.nuts.NutsPathOption[] options)
walk in interface net.thevpc.nuts.spi.NutsPathSPIwalk in class AbstractPathSPIAdapterpublic void copyTo(net.thevpc.nuts.NutsPath basePath,
net.thevpc.nuts.NutsPath other,
net.thevpc.nuts.NutsPathOption... options)
copyTo in interface net.thevpc.nuts.spi.NutsPathSPIcopyTo in class AbstractPathSPIAdapterpublic void walkDfs(net.thevpc.nuts.NutsPath basePath,
net.thevpc.nuts.NutsTreeVisitor<net.thevpc.nuts.NutsPath> visitor,
int maxDepth,
net.thevpc.nuts.NutsPathOption... options)
walkDfs in interface net.thevpc.nuts.spi.NutsPathSPIwalkDfs in class AbstractPathSPIAdapterpublic boolean isLocal(net.thevpc.nuts.NutsPath basePath)
Copyright © 2022 vpc open source initiative. All rights reserved.