Class ImportRoutes
java.lang.Object
java.lang.Thread
jmri.jmrit.operations.rollingstock.ImportCommon
jmri.jmrit.operations.routes.tools.ImportRoutes
- All Implemented Interfaces:
Runnable
This routine will import Routes from a CSV file into the operations database.
The field order is as defined below.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final int(package private) LocationManager(package private) RouteManager(package private) intFields inherited from class jmri.jmrit.operations.rollingstock.ImportCommon
BREAK, fstatus, importLine, importOkay, lineNum, lineNumber, LOCATION_TRACK_SEPARATOR, NEW_LINEFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jmri.jmrit.operations.rollingstock.ImportCommon
createStatusFrame, getBufferedReader, getFile, parseCommaLine, readNextLineMethods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Field Details
-
routeManager
-
locationManager
-
routesAdded
int routesAdded -
FIELD_ROUTE_NAME
- See Also:
-
FIELD_EMPTY
- See Also:
-
FIELD_ROUTE_COMMENT
- See Also:
-
FIELD_ROUTE_LOCATION_EMPTY
- See Also:
-
FIELD_ROUTE_LOCATION_NAME
- See Also:
-
FIELD_ROUTE_LOCATION_DIRECTION
- See Also:
-
FIELD_ROUTE_LOCATION_MOVES
- See Also:
-
FIELD_ROUTE_LOCATION_RANDOM
- See Also:
-
FIELD_ROUTE_LOCATION_PICKUP_ALLOWED
- See Also:
-
FIELD_ROUTE_LOCATION_DROP_ALLOWED
- See Also:
-
FIELD_ROUTE_LOCATION_LOCAL_MOVES_ALLOWED
- See Also:
-
FIELD_ROUTE_LOCATION_TRAVEL
- See Also:
-
FIELD_ROUTE_LOCATION_DEPARTURE_TIME
- See Also:
-
FIELD_ROUTE_LOCATION_TRAIN_LENGTH
- See Also:
-
FIELD_ROUTE_LOCATION_GRADE
- See Also:
-
FIELD_ROUTE_LOCATION_ICON_X
- See Also:
-
FIELD_ROUTE_LOCATION_ICON_Y
- See Also:
-
FIELD_ROUTE_LOCATION_COMMENT
- See Also:
-
FIELD_ROUTE_LOCATION_COMMENT_COLOR
- See Also:
-
-
Constructor Details
-
ImportRoutes
public ImportRoutes()
-
-
Method Details