org.onebusaway.csv_entities
Class DelimiterTokenizerStrategy

java.lang.Object
  extended by org.onebusaway.csv_entities.DelimiterTokenizerStrategy
All Implemented Interfaces:
TokenizerStrategy

public class DelimiterTokenizerStrategy
extends Object
implements TokenizerStrategy


Constructor Summary
DelimiterTokenizerStrategy(String delimiter)
           
 
Method Summary
 String format(Iterable<String> tokens)
           
 List<String> parse(String line)
           
 void setReplaceLiteralNullValues(boolean replaceLiteralNullValues)
          This is a bit of a hack
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelimiterTokenizerStrategy

public DelimiterTokenizerStrategy(String delimiter)
Method Detail

setReplaceLiteralNullValues

public void setReplaceLiteralNullValues(boolean replaceLiteralNullValues)
This is a bit of a hack

Parameters:
replaceLiteralNullValues -

parse

public List<String> parse(String line)
Specified by:
parse in interface TokenizerStrategy

format

public String format(Iterable<String> tokens)
Specified by:
format in interface TokenizerStrategy


Copyright © 2012 OneBusAway. All Rights Reserved.