jmri.jmrit.operations.rollingstock.cars
Class ImportCars

java.lang.Object
  extended by java.lang.Thread
      extended by jmri.jmrit.operations.rollingstock.cars.ImportCars
All Implemented Interfaces:
Runnable

public class ImportCars
extends Thread

This routine will import cars into the operation database. Each field is space or comma delimited. Field order: Number Road Type Length Weight Color Owner Year Location

Author:
Dan Boudreau Copyright (C) 2008 2010 2011

Nested Class Summary
protected static class ImportCars.ImportFilter
           
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ImportCars()
           
 
Method Summary
protected  String[] parseCommaLine(String line, int arraySize)
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImportCars

public ImportCars()
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

parseCommaLine

protected String[] parseCommaLine(String line,
                                  int arraySize)


Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads