Modifier and Type | Method and Description |
---|---|
static PathNormalization |
PathNormalization.valueOf(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.
|
Modifier and Type | Method and Description |
---|---|
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.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.
|
Configuration.Builder |
Configuration.Builder.setNameDisplayNormalization(PathNormalization first,
PathNormalization... more)
Sets the normalizations that will be applied to the display form of filenames.
|
Modifier and Type | Method and Description |
---|---|
static Pattern |
PathNormalization.compilePattern(String regex,
Iterable<PathNormalization> normalizations)
Compiles a regex pattern using flags based on the given normalizations.
|
static String |
PathNormalization.normalize(String string,
Iterable<PathNormalization> normalizations)
Applies the given normalizations to the given string in order, returning the normalized
result.
|
Copyright © 2013–2018 Google Inc.. All rights reserved.