Replaces and expands:
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private static final Comparator | |
| private final Resource | |
| private static final Logger | |
| private final List | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public String | |
| private String | |
| public String | |
| protected String | |
| protected String | |
| public static Path | |
| private static Path | |
| public static URI | |
| public static String |
| __propertyPattern | back to summary |
|---|---|
| private static final Pattern __propertyPattern | |
| attrComparator | back to summary |
|---|---|
| private static final Comparator<AttributeNormalizer. | |
| baseResource | back to summary |
|---|---|
| private final Resource baseResource | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| paths | back to summary |
|---|---|
| private final List<AttributeNormalizer. | |
| uris | back to summary |
|---|---|
| private final List<AttributeNormalizer. | |
| AttributeNormalizer | back to summary |
|---|---|
| public AttributeNormalizer(Resource baseResource) | |
| addSystemProperty | back to summary |
|---|---|
| private void addSystemProperty(String key, int weight) | |
| expand | back to summary |
|---|---|
| public String expand(String str) | |
| expand | back to summary |
|---|---|
| private String expand(String prefix, String property, String suffix) | |
| normalize | back to summary |
|---|---|
| public String normalize(Object o) Normalize a URI, URL, or File reference by replacing known attributes with ${key} attributes. | |
| normalizePath | back to summary |
|---|---|
| protected String normalizePath(Path path) | |
| normalizeUri | back to summary |
|---|---|
| protected String normalizeUri(URI uri) | |
| toCanonicalPath | back to summary |
|---|---|
| public static Path toCanonicalPath(String path) | |
| toCanonicalPath | back to summary |
|---|---|
| private static Path toCanonicalPath(Path path) | |
| toCanonicalURI | back to summary |
|---|---|
| public static URI toCanonicalURI(URI uri) | |
| toCanonicalURI | back to summary |
|---|---|
| public static String toCanonicalURI(String uri) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final String | |
| pack-priv final String | |
| pack-priv final int |
| Access | Constructor and Description |
|---|---|
| public |
| key | back to summary |
|---|---|
| pack-priv final String key | |
| value | back to summary |
|---|---|
| pack-priv final String value | |
| weight | back to summary |
|---|---|
| pack-priv final int weight | |
| Attribute | back to summary |
|---|---|
| public Attribute(String key, String value, int weight) | |
| Modifier and Type | Field and Description |
|---|---|
| public final Path |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| path | back to summary |
|---|---|
| public final Path path | |
| PathAttribute | back to summary |
|---|---|
| public PathAttribute(String key, Path path, int weight) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| public final URI |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| uri | back to summary |
|---|---|
| public final URI uri | |
| URIAttribute | back to summary |
|---|---|
| public URIAttribute(String key, URI uri, int weight) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |