no.priv.garshol.duke.datasources
Class Column

java.lang.Object
  extended by no.priv.garshol.duke.datasources.Column

public class Column
extends Object


Constructor Summary
Column(String name, String property, String prefix, Cleaner cleaner)
           
 
Method Summary
 Cleaner getCleaner()
           
 String getName()
           
 String getPrefix()
           
 String getProperty()
           
 boolean isSplit()
          Returns true iff this column needs to be split into multiple values.
 void setSplitOn(String spliton)
           
 Collection<String> split(String value)
          Splits the given string into multiple values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Column

public Column(String name,
              String property,
              String prefix,
              Cleaner cleaner)
Method Detail

getName

public String getName()

getProperty

public String getProperty()

getPrefix

public String getPrefix()

getCleaner

public Cleaner getCleaner()

setSplitOn

public void setSplitOn(String spliton)

isSplit

public boolean isSplit()
Returns true iff this column needs to be split into multiple values.


split

public Collection<String> split(String value)
Splits the given string into multiple values.



Copyright © 2013. All Rights Reserved.