| Package | Description |
|---|---|
| org.nuxeo.common.utils |
Various utility classes used for managing paths, jars, strings, files, etc.
|
| Modifier and Type | Method and Description |
|---|---|
Path |
Path.addFileExtension(String extension) |
Path |
Path.addTrailingSeparator() |
Path |
Path.append(Path tail) |
Path |
Path.append(String tail) |
static Path |
Path.createFromAbsolutePath(String path)
Creates a path object from an absolute and canonical path.
|
static Path |
Path.createFromSegments(String[] segments) |
Path |
Path.makeAbsolute() |
Path |
Path.makeRelative() |
Path |
Path.removeFileExtension() |
Path |
Path.removeFirstSegments(int count) |
Path |
Path.removeLastSegments(int count) |
Path |
Path.removeTrailingSeparator() |
Path |
Path.uptoSegment(int count) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
PathFilterSet.accept(Path path) |
boolean |
PathFilter.accept(Path path) |
Path |
Path.append(Path tail) |
static void |
FileUtils.copyTree(File src,
File dst,
Path prefix,
PathFilter filter) |
protected static void |
FileUtils.copyTree(int rootIndex,
File src,
File dst,
Path prefix,
PathFilter filter) |
boolean |
Path.isPrefixOf(Path anotherPath) |
boolean |
FilePathPattern.match(Path path) |
int |
Path.matchingFirstSegments(Path anotherPath) |
| Constructor and Description |
|---|
FilePathPattern(Path path) |
Copyright © 2019 Nuxeo SA. All rights reserved.