public class GeneralPathImpl extends AbstractPath<FileSystem> implements SegmentedPath
AbstractPath.RootInfo
attrsStorage, 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, toUri
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
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 AbstractPath.RootInfo setupRoot(FileSystem fs, String path, String host, boolean isRoot)
setupRoot
in class AbstractPath<FileSystem>
protected String defaultDirectory()
defaultDirectory
in class AbstractPath<FileSystem>
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 Path
UnsupportedOperationException
public String getSegmentId()
getSegmentId
in interface SegmentedPath
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.