Package pulse.io.readers
Interface AbstractReader<T>
-
- Type Parameters:
T-
- All Superinterfaces:
AbstractHandler,Reflexive
- All Known Subinterfaces:
CurveReader,DatasetReader,PulseDataReader
- All Known Implementing Classes:
ButcherTableauReader,DATReader,LFRReader,NetzschCSVReader,NetzschPulseCSVReader,QuadratureReader,TBLReader
public interface AbstractReader<T> extends AbstractHandler
Basic interface for readers inPULsE.Provides the
readcapability, which handles an external file and attempts to read its content to translate it into theTinternal structure. The internal structure ofTformed by a set of properties, accessibles, and property holders, is assumed to be immutable. The size of lists, arrays and containers may (and usually will) change as a result of using the reader.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tread(File f)Readsfto translate its contents to one of the immutable structures ofT.-
Methods inherited from interface pulse.io.readers.AbstractHandler
getSupportedExtension, isExtensionSupported
-
-
-
-
Method Detail
-
read
T read(File f) throws IOException
Readsfto translate its contents to one of the immutable structures ofT. Usually this involves reading arrays and collections and pasting their data into existing structural elements. This does not change the internal structure of the object.- Parameters:
f- a file which has readable content- Returns:
- a
Tobject created by reading all information fromf. - Throws:
IOException
-
-