Package monq.jfa.textparts
Interface Formatter
- All Known Implementing Classes:
SimpleFormatters.FixedString,SimpleFormatters.GetVar,SimpleFormatters.Part,SimpleFormatters.PartLen,SimpleFormatters.PartSeq
public interface Formatter
defines the interface to classes which rearrange text parts stored in a
TextStore and/or
in a java.util.Map append them to a StringBuilder.
Hint:Typically a TextSplitter and a
Formatter are used in tandem and communicate via a
TextStore.
-
Method Summary
-
Method Details
-
format
arranges (some of) the pieces of text found in
stormin an implementation dependend manner and appends them toout. Depending on the implementation, both,standmor even both may be allowed to benull.Postcondition: This method may not change the content of
destother than by appending to it.- Throws:
CallbackException
-