|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ldodds.foafamatic.load.FileLoader
Abstract base class for objects that load data from the file system or the net.
Constructor Summary | |
FileLoader()
Constructor for FileLoader. |
Method Summary | |
void |
load()
Will present the user with the option to load from the file system or the network. |
abstract void |
loadData(java.io.InputStream in)
Should be implemented by sub-classes to actually perform the data load. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileLoader()
Method Detail |
public void load()
load
in interface Loader
public abstract void loadData(java.io.InputStream in)
InputStream
will automatically be
created from the users choice (whether the file system or URL)
and passed as a parameter to this method
in
- An InputStream from which the data can be read. Guaranteed
not to be null. The stream will be closed by the base class.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |