public class GeneralPathImpl extends AbstractPath<FileSystem> implements SegmentedPath
AbstractPath.RootInfoattrsStorage, DEFAULT_WINDOWS_DRIVER, file, fs, host, isAbsolute, isNormalized, isRealPath, isRoot, offsets, path, toStringFormat, usesWindowsFormat, WINDOWS_DRIVER| Modifier and Type | Method and Description |
|---|---|
static GeneralPathImpl |
create(FileSystem fs,
String path,
boolean isRealPath) |
static GeneralPathImpl |
create(FileSystem fs,
String path,
boolean isRealPath,
boolean isNormalized) |
static GeneralPathImpl |
createRoot(FileSystem fs,
String path,
boolean isRealPath) |
protected String |
defaultDirectory() |
String |
getSegmentId() |
static GeneralPathImpl |
newFromFile(FileSystem fs,
File file) |
protected Path |
newPath(FileSystem fs,
String substring,
String host,
boolean isRealPath,
boolean isNormalized) |
protected Path |
newRoot(FileSystem fs,
String substring,
String host,
boolean realPath) |
protected AbstractPath.RootInfo |
setupRoot(FileSystem fs,
String path,
String host,
boolean isRoot) |
File |
toFile() |
addAttrView, clearCache, compareTo, endsWith, endsWith, equals, getAttrStorage, getAttrView, getAttrView, getFileName, getFileSystem, getHost, getName, getNameCount, getParent, getRoot, hashCode, isAbsolute, isRealPath, iterator, normalize, register, register, relativize, resolve, resolve, resolveSibling, resolveSibling, startsWith, startsWith, subpath, toAbsolutePath, toRealPath, toString, toString, toUriclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorprotected AbstractPath.RootInfo setupRoot(FileSystem fs, String path, String host, boolean isRoot)
setupRoot in class AbstractPath<FileSystem>protected String defaultDirectory()
defaultDirectory in class AbstractPath<FileSystem>public static GeneralPathImpl newFromFile(FileSystem fs, File file)
public static GeneralPathImpl create(FileSystem fs, String path, boolean isRealPath)
public static GeneralPathImpl createRoot(FileSystem fs, String path, boolean isRealPath)
public static GeneralPathImpl create(FileSystem fs, String path, boolean isRealPath, boolean isNormalized)
protected Path newRoot(FileSystem fs, String substring, String host, boolean realPath)
newRoot in class AbstractPath<FileSystem>protected Path newPath(FileSystem fs, String substring, String host, boolean isRealPath, boolean isNormalized)
newPath in class AbstractPath<FileSystem>public File toFile() throws UnsupportedOperationException
toFile in interface PathUnsupportedOperationExceptionpublic String getSegmentId()
getSegmentId in interface SegmentedPathCopyright © 2012–2016 JBoss by Red Hat. All rights reserved.