Previous Next        Current Page: NeXtMidas Training / Working with Files / File Types / Handlers Table
Start Here   
Background   
Common Midas Concepts   
Getting Started - Part 1   
Getting Started - Part 2   
Working with Files   
   - File Basics   
   + The AUX List   
   + Basic File Commands   
   + Lab 1   
   + File Names   
   - File Types   
      - File Handlers   
      - Handlers Table   
      - File Interfaces   
      - Supported File Types   
      - Table (.tbl) Files   
      - XML (.xml) Files   
   + Lab 2   
   + Listing Files   
   + Lab 3   
   + Plotting Files   
   + Lab 4   
Option Trees   
Macros - Part 1 (Basics)   
Macros - Part 2 (Graphics)   
NetBeans - Part 1 (Setup)   
NetBeans - Part 2 (GUIs)   
NetBeans - Part 3 (Profiler)   
Eclipse - Part 1 (Setup)   
Eclipse - Part 2 (GUIs)   
Primitives   
Applets & WebStart   
Maps & Imagery   
X-Midas Interoperability   
RMIF & Remoting   
Installing NeXtMidas   
Support & Maintenance   
File Handlers   


  • The File Handlers Table:
    • The mapping of file extensions to the class to handle the file is stored in the file handlers table (REG.HANDLERS.FILE)
      nM> res reg.handlers.file
        T: REG.HANDLERS.FILE = Table of 34 entries
      20S:  TMP            = nxm.sys.lib.DataFile
      20S:  RAW            = nxm.sys.lib.BaseFile
      20S:  PRM            = nxm.sys.lib.DataFile
      20S:  PKT            = nxm.sys.lib.DataFile
      20S:  SET            = nxm.sys.lib.DataFile
      20S:  MCR            = nxm.sys.lib.DataFile
      20S:  DAT            = nxm.sys.lib.DataFile
      ...
    • The handlers table is extensible.
      • New file types and handlers can be added or previously defined file types overridden.