Class ImportRollingStock
- java.lang.Object
-
- java.lang.Thread
-
- jmri.jmrit.operations.rollingstock.ImportRollingStock
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
ImportCars
,ImportEngines
,ImportLocations
public abstract class ImportRollingStock extends java.lang.Thread
Provides common routes for importing cars and locomotives
-
-
Field Summary
Fields Modifier and Type Field Description protected JmriJFrame
fstatus
protected javax.swing.JLabel
importLine
protected javax.swing.JLabel
lineNumber
protected static java.lang.String
LOCATION_TRACK_SEPARATOR
protected static java.lang.String
NEW_LINE
-
Constructor Summary
Constructors Constructor Description ImportRollingStock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createStatusFrame(java.lang.String title)
protected java.io.BufferedReader
getBufferedReader(java.io.File file)
protected java.io.File
getFile()
protected java.lang.String[]
parseCommaLine(java.lang.String line)
-
Methods 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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Field Detail
-
NEW_LINE
protected static final java.lang.String NEW_LINE
- See Also:
- Constant Field Values
-
lineNumber
protected javax.swing.JLabel lineNumber
-
importLine
protected javax.swing.JLabel importLine
-
LOCATION_TRACK_SEPARATOR
protected static final java.lang.String LOCATION_TRACK_SEPARATOR
- See Also:
- Constant Field Values
-
fstatus
protected JmriJFrame fstatus
-
-
Constructor Detail
-
ImportRollingStock
public ImportRollingStock()
-
-
Method Detail
-
getFile
protected java.io.File getFile()
-
getBufferedReader
protected java.io.BufferedReader getBufferedReader(java.io.File file)
-
createStatusFrame
protected void createStatusFrame(java.lang.String title)
-
parseCommaLine
protected java.lang.String[] parseCommaLine(java.lang.String line)
-
-