Class TcsImporter


  • public class TcsImporter
    extends java.lang.Object
    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.

    • Constructor Detail

      • TcsImporter

        public TcsImporter​(java.io.File file,
                           CvTableModel cvModel,
                           VariableTableModel model)
                    throws java.io.IOException
        The import process starts upon creation of a TcsImporter
        Parameters:
        file - The File object to be read
        cvModel - Model used to look up CV values (not used)
        model - Variable model used to look up function bits (retained for later use)
        Throws:
        java.io.IOException - from underlying file operations
      • TcsImporter

        public TcsImporter​(java.io.InputStream stream)
                    throws java.io.IOException
        Throws:
        java.io.IOException