public class InstrumentedFileSystemUtils extends Object
FileSystems.| Constructor and Description |
|---|
InstrumentedFileSystemUtils() |
| Modifier and Type | Method and Description |
|---|---|
static FileStatus[] |
replaceScheme(FileStatus[] paths,
String replace,
String replacement)
Replace the scheme of each
FileStatus if it matches the string to replace. |
static FileStatus |
replaceScheme(FileStatus st,
String replace,
String replacement)
Replace the scheme of the input
FileStatus if it matches the string to replace. |
static Path[] |
replaceScheme(Path[] paths,
String replace,
String replacement)
Replace the scheme of each
Path if it matches the string to replace. |
static Path |
replaceScheme(Path path,
String replace,
String replacement)
Replace the scheme of the input
Path if it matches the string to replace. |
static URI |
replaceScheme(URI uri,
String replace,
String replacement)
Replace the scheme of the input
URI if it matches the string to replace. |
public static URI replaceScheme(URI uri, String replace, String replacement)
URI if it matches the string to replace.public static Path replaceScheme(Path path, String replace, String replacement)
Path if it matches the string to replace.public static Path[] replaceScheme(Path[] paths, String replace, String replacement)
Path if it matches the string to replace.public static FileStatus[] replaceScheme(FileStatus[] paths, String replace, String replacement)
FileStatus if it matches the string to replace.public static FileStatus replaceScheme(FileStatus st, String replace, String replacement)
FileStatus if it matches the string to replace.