|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.solidstategroup.cms.xmlimport.transform.DataBuilder
com.solidstategroup.cms.xmlimport.transform.CSVTransform
public abstract class CSVTransform
CSVTransform this assumes a comma sep list of values enclosed in quotes. all you need to do is extend this class and override all the abstract methods
| Field Summary |
|---|
| Fields inherited from class com.solidstategroup.cms.xmlimport.transform.DataBuilder |
|---|
TAG_SEPARATOR |
| Constructor Summary | |
|---|---|
CSVTransform()
|
|
| Method Summary | |
|---|---|
java.util.Vector |
readData(java.lang.String str)
|
abstract java.lang.String |
replaceNewLineDelimeters(java.lang.String data)
this is assuming that each line is the same length so get rid of any newline delims and replace them with ',' then it will not have to worry about new line delims |
| Methods inherited from class com.solidstategroup.cms.xmlimport.transform.DataBuilder |
|---|
cleanData, createArticle, getColumnDescription, getColumnTitle, getMappings, getRootArticleId, getRootChunkTypeId, manipulateColumn, produceXML |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CSVTransform()
| Method Detail |
|---|
public abstract java.lang.String replaceNewLineDelimeters(java.lang.String data)
public java.util.Vector readData(java.lang.String str)
readData in class DataBuilder
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||