Package jmri.jmrit.timetable
Class TimeTableImport
- java.lang.Object
-
- jmri.jmrit.timetable.TimeTableImport
-
public class TimeTableImport extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) TimeTableDataManager
_dm
(package private) int
_layoutId
(package private) int
_routeFirst
(package private) int
_routeLast
(package private) int
_scheduleId
(package private) int
_segmentId
(package private) java.util.List<java.lang.Integer>
_stationIds
(package private) int
_trainId
(package private) java.util.HashMap<java.lang.String,java.lang.Integer>
_typeIds
(package private) java.io.BufferedReader
bufferedReader
(package private) java.io.FileReader
fileReader
(package private) java.lang.String
line
-
Constructor Summary
Constructors Constructor Description TimeTableImport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
createLayout(java.lang.String[] lineStrings)
(package private) void
createSchedule(java.lang.String[] lineStrings)
(package private) void
createSegment(java.lang.String[] lineStrings)
(package private) void
createStation(java.lang.String[] lineStrings)
(package private) void
createStop(java.lang.String[] lineStrings, int seq)
(package private) void
createTrain(java.lang.String[] lineStrings)
(package private) void
createTrainType(java.lang.String[] lineStrings)
void
importSgn(TimeTableDataManager dm, java.io.File file)
-
-
-
Field Detail
-
bufferedReader
java.io.BufferedReader bufferedReader
-
fileReader
java.io.FileReader fileReader
-
line
java.lang.String line
-
_layoutId
int _layoutId
-
_segmentId
int _segmentId
-
_scheduleId
int _scheduleId
-
_trainId
int _trainId
-
_routeFirst
int _routeFirst
-
_routeLast
int _routeLast
-
_stationIds
java.util.List<java.lang.Integer> _stationIds
-
_typeIds
java.util.HashMap<java.lang.String,java.lang.Integer> _typeIds
-
-
Constructor Detail
-
TimeTableImport
public TimeTableImport()
-
-
Method Detail
-
importSgn
public void importSgn(TimeTableDataManager dm, java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
createLayout
void createLayout(java.lang.String[] lineStrings)
-
createTrainType
void createTrainType(java.lang.String[] lineStrings)
-
createSegment
void createSegment(java.lang.String[] lineStrings)
-
createStation
void createStation(java.lang.String[] lineStrings)
-
createSchedule
void createSchedule(java.lang.String[] lineStrings)
-
createTrain
void createTrain(java.lang.String[] lineStrings)
-
createStop
void createStop(java.lang.String[] lineStrings, int seq)
-
-