TrueZIP Kernel 7.0-rc2

de.schlichtherle.truezip.util
Class SuffixSet.SuffixMapper

java.lang.Object
  extended by 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.


Constructor Summary
private SuffixSet.SuffixMapper()
           
 
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
 

Constructor Detail

SuffixSet.SuffixMapper

private SuffixSet.SuffixMapper()
Method Detail

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.

TrueZIP Kernel 7.0-rc2

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.