statalign.io
Class DataManager

java.lang.Object
  extended by statalign.io.DataManager

public class DataManager
extends java.lang.Object


Constructor Summary
DataManager()
           
 
Method Summary
 void init()
           
 DataType read(java.io.File file)
          Tries to read file using all available input plugins.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataManager

public DataManager()
Method Detail

init

public void init()

read

public DataType read(java.io.File file)
Tries to read file using all available input plugins. First tries those that claim to explicitly support the file extension, that failing tries all other plugins.

Parameters:
file - the input file to read
Returns:
the data read or null if all plugins failed to read the file