|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tm4j.vtl.extractors.WhitespaceCompressor
A simple text processing function which normalizes whitespace in a similar manner to an XML processor. All white-space characters are converted to a space, and runs of multiple spaces are compressed to a sinlge space.
| Constructor Summary | |
WhitespaceCompressor()
|
|
| Method Summary | |
java.lang.Object |
fn(java.lang.Object x)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WhitespaceCompressor()
| Method Detail |
public java.lang.Object fn(java.lang.Object x)
fn in interface uk.co.jezuk.mango.UnaryFunction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||