de.schlichtherle.truezip.util
Class SuffixSet.SuffixMapper
java.lang.Object
de.schlichtherle.truezip.util.SuffixSet.SuffixMapper
- All Implemented Interfaces:
- CanonicalStringSet.Canonicalizer
- Enclosing class:
- SuffixSet
private static class SuffixSet.SuffixMapper
- extends Object
- implements CanonicalStringSet.Canonicalizer
A canonicalizer for file suffixes.
|
Method Summary |
String |
map(Object o)
Returns the canonical form of suffix or null
if the given suffix does not have a canonical form. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SuffixSet.SuffixMapper
private SuffixSet.SuffixMapper()
map
@CheckForNull
public String map(Object o)
- Returns the canonical form of
suffix or null
if the given suffix does not have a canonical form.
An example of the latter case is the empty string.
- Specified by:
map in interface CanonicalStringSet.Canonicalizer
- Parameters:
o - The Object to map to its canonical string representation.
- Returns:
- The canonical string representation of
o or
null if the canonical string representation is
undefined.
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.