public class RemotePathRoot extends RemotePath
Path.FileChannelFactory
Modifier and Type | Field and Description |
---|---|
protected RemoteFilesystem |
_remoteFilesystem |
_bindRoot, _pathname, _root, _userPath
_pathSeparatorChar, _schemeMap, _separatorChar, L
Constructor and Description |
---|
RemotePathRoot(java.lang.String url,
Path dbDirectory,
java.lang.String tableName)
Create the root new RemoteFilesystem
|
Modifier and Type | Method and Description |
---|---|
Path |
fsWalk(java.lang.String userPath,
java.util.Map<java.lang.String,java.lang.Object> newAttributes,
java.lang.String newPath)
Lookup a path relative to the current filesystem's root.
|
protected RemoteFilesystem |
getRemoteFilesystem()
Returns the remote filesystem.
|
canRead, canWrite, copy, getCrc64, getLastModified, getLength, getScheme, isDirectory, isFile, list, openReadImpl
bind, createRoot, equals, getFullPath, getParent, getPath, getRoot, getTail, getUserPath, hashCode, init, normalizePath, normalizePath, schemeWalk, setUserPath
cacheCopy, canExecute, changeGroup, changeGroup, changeOwner, changeOwner, chmod, clearStatusCache, compareTo, createDepend, createLink, createNewFile, createRoot, createTempFile, escapeURL, exists, fileChannelFactory, getAttribute, getAttributeNames, getBlockCount, getBlockSize, getCache, getCertificates, getContentType, getCreateTime, getDevice, getDeviceId, getDiskSpaceFree, getDiskSpaceTotal, getFileSeparatorChar, getGroup, getHost, getInode, getLastAccessTime, getLastStatusChangeTime, getMode, getNativePath, getNewlineString, getNumberOfLinks, getObject, getOwner, getPathSeparatorChar, getPort, getQuery, getRelativePath, getResources, getResources, getSchemeMap, getSeparatorChar, getURL, getUser, getUserDir, getValue, isBlockDevice, isCharacterDevice, isExecutable, isFIFO, isHardLink, isLink, isObject, isPathCacheable, isSocket, isSymbolicLink, isWindows, isWindowsInsecure, iterator, lookup, lookup, lookup, lookupChild, lookupImpl, lookupNative, lookupNative, lookupRelativeNativePath, mkdir, mkdirs, openAppend, openAppendImpl, openFileRandomAccess, openMemoryMappedFile, openRandomAccess, openRead, openReadWrite, openReadWrite, openReadWrite, openReadWriteImpl, openWrite, openWriteImpl, putCache, readLink, realPath, remove, removeAll, renameTo, renameTo, scanScheme, sendfile, setDefaultSchemeMap, setExecutable, setLastModified, setObject, setTestWindows, setValue, toString, truncate, truncate, unbind, unwrap, writeToStream, writeToStream
protected RemoteFilesystem _remoteFilesystem
public RemotePathRoot(java.lang.String url, Path dbDirectory, java.lang.String tableName) throws java.lang.Exception
url
- the remote urljava.lang.Exception
public Path fsWalk(java.lang.String userPath, java.util.Map<java.lang.String,java.lang.Object> newAttributes, java.lang.String newPath)
fsWalk
in class RemotePath
userPath
- the exact string passed by the user's lookup()newAttributes
- the user's new attributesnewPath
- the normalized real pathprotected RemoteFilesystem getRemoteFilesystem()