Class RecordingSubstitutionMap.Builder
java.lang.Object
com.google.common.css.compiler.passes.RecordingSubstitutionMap.Builder
- Enclosing class:
- RecordingSubstitutionMap
A-la-carte builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the substitution map based on previous operations on this builder.shouldRecordMappingForCodeGeneration(com.google.common.base.Predicate<? super String> p) True keys that should be treated mapped to themselves instead of passing through Multiple calls AND.withMappings(Map<? extends String, ? extends String> m) Specifies mappings to initialize the delegate with.Specifies the underlying map.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withSubstitutionMap
Specifies the underlying map. Multiple calls clobber. -
shouldRecordMappingForCodeGeneration
public RecordingSubstitutionMap.Builder shouldRecordMappingForCodeGeneration(com.google.common.base.Predicate<? super String> p) True keys that should be treated mapped to themselves instead of passing through Multiple calls AND. -
withMappings
Specifies mappings to initialize the delegate with. Multiple calls putAll. This can be used to reconstitute a map that was written out byOutputRenamingMapFormat.writeRenamingMap(java.util.Map<java.lang.String, java.lang.String>, java.io.Writer)from the output ofOutputRenamingMapFormat.readRenamingMap(java.io.Reader). -
build
Builds the substitution map based on previous operations on this builder.
-