Package pulse.io.readers
Interface AbstractPopulator<T>
-
- All Superinterfaces:
AbstractHandler,Reflexive
- All Known Implementing Classes:
MetaFilePopulator
public interface AbstractPopulator<T> extends AbstractHandler
AnAbstractPopulatorprovides the ability to add extra content to an object by modifying its internal structure to make it compliant with an external file. The difference to theAbstractReaderis that the latter does not change the internal structure of an object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpopulate(File f, T t)Tries to populatetfrom data contained inf.-
Methods inherited from interface pulse.io.readers.AbstractHandler
getSupportedExtension, isExtensionSupported
-
-
-
-
Method Detail
-
populate
void populate(File f, T t) throws IOException
Tries to populatetfrom data contained inf.- Parameters:
f- a file presumably containing data that can be converted to the internal format oft.t- aTobject which can potentially be populated byf.- Throws:
IOException- if an exception occurs during processingf.
-
-