Uses of Class
com.google.common.jimfs.PathNormalization
-
-
Uses of PathNormalization in com.google.common.jimfs
Fields in com.google.common.jimfs with type parameters of type PathNormalization Modifier and Type Field Description private com.google.common.collect.ImmutableSet<PathNormalization>
PathService. canonicalNormalizations
private com.google.common.collect.ImmutableSet<PathNormalization>
PathService. displayNormalizations
private com.google.common.collect.ImmutableSet<PathNormalization>
Configuration.Builder. nameCanonicalNormalization
(package private) com.google.common.collect.ImmutableSet<PathNormalization>
Configuration. nameCanonicalNormalization
private com.google.common.collect.ImmutableSet<PathNormalization>
Configuration.Builder. nameDisplayNormalization
(package private) com.google.common.collect.ImmutableSet<PathNormalization>
Configuration. nameDisplayNormalization
Methods in com.google.common.jimfs that return PathNormalization Modifier and Type Method Description static PathNormalization
PathNormalization. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PathNormalization[]
PathNormalization. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.google.common.jimfs that return types with arguments of type PathNormalization Modifier and Type Method Description private com.google.common.collect.ImmutableSet<PathNormalization>
Configuration.Builder. checkNormalizations(java.util.List<PathNormalization> normalizations)
Methods in com.google.common.jimfs with parameters of type PathNormalization Modifier and Type Method Description private static void
Configuration.Builder. checkNormalizationNotSet(PathNormalization n, @Nullable PathNormalization set)
Configuration.Builder
Configuration.Builder. setNameCanonicalNormalization(PathNormalization first, PathNormalization... more)
Returns the normalizations that will be applied to the canonical form of filenames in the file system.Configuration.Builder
Configuration.Builder. setNameDisplayNormalization(PathNormalization first, PathNormalization... more)
Sets the normalizations that will be applied to the display form of filenames.Method parameters in com.google.common.jimfs with type arguments of type PathNormalization Modifier and Type Method Description private com.google.common.collect.ImmutableSet<PathNormalization>
Configuration.Builder. checkNormalizations(java.util.List<PathNormalization> normalizations)
static java.util.regex.Pattern
PathNormalization. compilePattern(java.lang.String regex, java.lang.Iterable<PathNormalization> normalizations)
Compiles a regex pattern using flags based on the given normalizations.private static java.nio.file.PathMatcher
PathMatchers. fromRegex(java.lang.String regex, java.lang.Iterable<PathNormalization> normalizations)
static java.nio.file.PathMatcher
PathMatchers. getPathMatcher(java.lang.String syntaxAndPattern, java.lang.String separators, com.google.common.collect.ImmutableSet<PathNormalization> normalizations)
Gets aPathMatcher
for the given syntax and pattern as specified byFileSystem.getPathMatcher(java.lang.String)
.static java.lang.String
PathNormalization. normalize(java.lang.String string, java.lang.Iterable<PathNormalization> normalizations)
Applies the given normalizations to the given string in order, returning the normalized result.Constructor parameters in com.google.common.jimfs with type arguments of type PathNormalization Constructor Description PathService(PathType type, java.lang.Iterable<PathNormalization> displayNormalizations, java.lang.Iterable<PathNormalization> canonicalNormalizations, boolean equalityUsesCanonicalForm)
-