Package com.google.common.css
Interface SubstitutionMap
- All Known Subinterfaces:
MultipleMappingSubstitutionMap,SubstitutionMap.Initializable
- All Known Implementing Classes:
IdentitySubstitutionMap,MinimalSubstitutionMap,PrefixingSubstitutionMap,RecordingSubstitutionMap,SimpleSplittingSubstitutionMap,SimpleSubstitutionMap,SplittingSubstitutionMap
public interface SubstitutionMap
An interface for a one-to-one string mapping function.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA substitution map that can be reconsitituted from saved mappings. -
Method Summary
-
Method Details
-
get
Gets the string that should be substituted forkey. The same value must be consistently returned for any particularkey, and the returned value must not be returned for any otherkeyvalue.- Parameters:
key- the text to be replaced (never null)- Returns:
- the value to substitute for
key
-