Example showing how to extend PatternParser to recognize additional
conversion characters. The examples shows that minimum and maximum
width and alignment settings apply for "extension" conversion
characters just as they do for PatternLayout recognized characters.
In this case MyPatternParser recognizes %# and outputs the value
of an internal counter which is also incremented at each call.
See source code
for more details. |