Package jmri.jmrit.symbolicprog
Class TcsImporter
java.lang.Object
jmri.jmrit.symbolicprog.TcsImporter
Import CV values from a TCS backup file (from a CDI backup)
directly into a RosterEntry.
Note that this does not update any GUI that's showing the RosterEntry, e.g. a RosterPane or FunctionLabelPane. Those must have their updates triggered elsewhere, e.g. TcsImportAction.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) VariableTableModel(package private) Properties -
Constructor Summary
ConstructorsConstructorDescriptionTcsImporter(File file, CvTableModel cvModel, VariableTableModel model) The import process starts upon creation of a TcsImporterTcsImporter(InputStream stream) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRosterEntry(RosterEntry rosterEntry) (package private) static StringunpackDescription(String description, String display)
-
Field Details
-
tcsProperties
-
model
-
-
Constructor Details
-
TcsImporter
The import process starts upon creation of a TcsImporter- Parameters:
file- The File object to be readcvModel- Model used to look up CV values (not used)model- Variable model used to look up function bits (retained for later use)- Throws:
IOException- from underlying file operations
-
TcsImporter
- Throws:
IOException
-
-
Method Details
-
setRosterEntry
-
unpackDescription
-