|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jgaap.generics.Parameterizable
com.jgaap.generics.Canonicizer
com.jgaap.canonicizers.NormalizeWhitespace
public class NormalizeWhitespace
Changes length of all white spaces to 1. Any sequence of whitespaces including newline, tab, and space, will become a single space in the processed document.
| Constructor Summary | |
|---|---|
NormalizeWhitespace()
|
|
| Method Summary | |
|---|---|
java.lang.String |
displayName()
Simple method to return the display name of this Canonicizer, to be used in the GUI. |
java.awt.Color |
guiColor()
The color that should be used to represent this object in the GUI. |
java.util.Vector<java.lang.Character> |
process(java.util.Vector<java.lang.Character> procText)
normalize whitespace in argument |
boolean |
showInGUI()
Simple method to indicate whether this Canonicizer should be displayed in the GUI. |
java.lang.String |
tooltipText()
Simple method to return the tooltip text of this Canonicizer, to be used in the GUI. |
| Methods inherited from class com.jgaap.generics.Canonicizer |
|---|
equals, getExtraInfo, selftest, toString |
| Methods inherited from class com.jgaap.generics.Parameterizable |
|---|
clearParameterSet, deleteParameter, getParameter, setParameter, setParameter, setParameter, setParameter |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NormalizeWhitespace()
| Method Detail |
|---|
public java.lang.String displayName()
Canonicizer
displayName in class Canonicizerpublic java.lang.String tooltipText()
Canonicizer
tooltipText in class Canonicizerpublic boolean showInGUI()
Canonicizer
showInGUI in class Canonicizerpublic java.awt.Color guiColor()
Canonicizer
guiColor in class Canonicizerpublic java.util.Vector<java.lang.Character> process(java.util.Vector<java.lang.Character> procText)
process in class CanonicizerprocText - Vector of Characters to be processed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||