public class TwoGeeLoader extends java.lang.Object implements FileLoader
Modifier and Type | Class and Description |
---|---|
static class |
TwoGeeLoader.MomentFields
The fields from which to read the magnetic moment (Cartesian or Polar).
|
static class |
TwoGeeLoader.Protocol
A measurement protocol.
|
Constructor and Description |
---|
TwoGeeLoader()
Creates a new 2G loader.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<OptionDefinition> |
getOptionDefinitions() |
LoadedData |
readFile(java.io.File file,
java.util.Map<java.lang.String,java.lang.Object> options)
Reads a file in 2G format.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkOptions, readFile
public java.util.List<OptionDefinition> getOptionDefinitions()
getOptionDefinitions
in interface FileLoader
public LoadedData readFile(java.io.File file, java.util.Map<java.lang.String,java.lang.Object> options)
readFile
in interface FileLoader
file
- the file to readoptions
- file loading options