|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openeai.OpenEaiObject
org.openeai.scrubbers.EnterpriseScrubberImpl
org.openeai.scrubbers.CaseConverter
public class CaseConverter
A general CaseConverter class that converts the first letter of a String to Upper case an all subsequent letters to lower case. These scrubbers are associated to a particular field in the EnterpriseObjects documents.
Example 1: TOD JACKSON becomes Tod Jackson
Example 2: tod jackson becomes Tod Jackson
Example 3: TODJACKSON becomes Todjackson
| Field Summary |
|---|
| Fields inherited from class org.openeai.OpenEaiObject |
|---|
logger |
| Constructor Summary | |
|---|---|
CaseConverter()
Constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
scrub(java.lang.String value)
This is the scrub method that all EnterpriseScrubbers must implement. |
| Methods inherited from class org.openeai.scrubbers.EnterpriseScrubberImpl |
|---|
getSequence, setSequence |
| Methods inherited from class org.openeai.OpenEaiObject |
|---|
getAppName, getDebug, getFromAddr, getMailHost, getMailService, getProperties, getToAddr, initializeLog4j, initializeLog4j, initializeLog4j, setAppName, setDebug, setFromAddr, setMailHost, setMailService, setProperties, setToAddr |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openeai.scrubbers.EnterpriseScrubber |
|---|
getSequence, setSequence |
| Constructor Detail |
|---|
public CaseConverter()
| Method Detail |
|---|
public java.lang.String scrub(java.lang.String value)
throws EnterpriseScrubberException
scrub in interface EnterpriseScrubbervalue - the String to be scrubbed.
EnterpriseScrubberException - if any errors occur scrubbing the input.EnterpriseFields,
EnterpriseFormatter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||