Class CaretPaintLoader

java.lang.Object
All Implemented Interfaces:
InterfaceIO, IconObject

public class CaretPaintLoader
extends SurfaceDataFileLoader
Loads a Caret Paint file From Caret site: tag-version 1 tag-number-of-nodes 71723 tag-number-of-columns 5 tag-title tag-number-of-paint-names 148 tag-column-name 0 Lobes tag-column-name 1 Geography tag-column-name 2 Functional Stuff tag-column-name 3 Brodmann tag-column-name 4 Modality tag-BEGIN-DATA 0 ??? 1 SUL 2 DEEP_SUL ... 147 AREA.MTplus 0 58 0 0 100 42 1 58 0 0 100 42 2 58 0 0 82 134 ... 71722 21 0 0 0 128 TODO: accommodate versions
Version:
1.0
Author:
Andrew Reid
  • Constructor Details

    • CaretPaintLoader

      public CaretPaintLoader()
    • CaretPaintLoader

      public CaretPaintLoader​(java.io.File file)
    • CaretPaintLoader

      public CaretPaintLoader​(java.net.URL url)
  • Method Details

    • getHeader

      public CaretPaintLoader.Header getHeader()
    • loadValues

      public java.util.ArrayList<MguiNumber> loadValues​(ProgressUpdater progress_bar)
      Specified by:
      loadValues in class SurfaceDataFileLoader
    • load

      public boolean load​(InterfaceIOOptions options, ProgressUpdater progress_bar)
      Description copied from class: FileLoader
      Loads data from the set of files or URLs specified by options. Loading is controlled by the specifications of options. If loaded object is of type PersistentObject, this method should also set the file loader and reference URL for the object.

      This method should also set the URL reference and writer and loader attributes to match this one and its complement.

      Overrides:
      load in class SurfaceDataFileLoader
      progress_bar - An optional progress updater. Can be null.
      Returns:
    • loadAllValues

      public java.util.ArrayList<java.util.ArrayList<MguiNumber>> loadAllValues()
    • loadHeader

      protected void loadHeader()