public class CsvFileReader extends Object
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights
reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
CsvFileReader() |
| Modifier and Type | Method and Description |
|---|---|
static Long |
CheckName(String name) |
static ArrayList<DepartureTimeProfile> |
ReadDepartureTimeProfiles(String csvFileName,
String csvSplitBy,
String csvSplitInternalBy) |
static TripDemand |
ReadOmnitransExportDemand(String csvFileName,
String csvSplitBy,
String csvSplitByTwo) |
static String |
RemoveQuotes(String name) |
public static TripDemand ReadOmnitransExportDemand(String csvFileName, String csvSplitBy, String csvSplitByTwo) throws Throwable
csvFileName - csvSplitBy - : token that defines how to split a linecsvSplitByTwo - : two tokens that defines how to split a lineIOExceptionThrowablepublic static ArrayList<DepartureTimeProfile> ReadDepartureTimeProfiles(String csvFileName, String csvSplitBy, String csvSplitInternalBy) throws IOException, ParseException
csvFileName - csvSplitBy - csvSplitInternalBy - IOExceptionParseExceptionpublic static String RemoveQuotes(String name)
name - Copyright © 2014 Delft University of Technology. All rights reserved.