org.onebusaway.csv_entities
Class CsvTokenizerStrategy

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

public class CsvTokenizerStrategy
extends Object
implements TokenizerStrategy


Constructor Summary
CsvTokenizerStrategy()
           
 
Method Summary
 String format(Iterable<String> tokens)
           
 CSVLibrary getCsvParser()
           
 List<String> parse(String line)
           
 void setCsvParser(CSVLibrary csv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CsvTokenizerStrategy

public CsvTokenizerStrategy()
Method Detail

getCsvParser

public CSVLibrary getCsvParser()

setCsvParser

public void setCsvParser(CSVLibrary csv)

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.