com.ldodds.foafamatic.load
Class FOAFLoader

java.lang.Object
  |
  +--com.ldodds.foafamatic.load.FileLoader
        |
        +--com.ldodds.foafamatic.load.FOAFLoader
All Implemented Interfaces:
Loader

public class FOAFLoader
extends FileLoader

Load a FOAF file.

Author:
ldodds

Constructor Summary
FOAFLoader(boolean asFriend)
          Constructor for FOAFLoader.
 
Method Summary
 void loadData(java.io.InputStream in)
          Should be implemented by sub-classes to actually perform the data load.
 
Methods inherited from class com.ldodds.foafamatic.load.FileLoader
load
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FOAFLoader

public FOAFLoader(boolean asFriend)
Constructor for FOAFLoader.

Method Detail

loadData

public void loadData(java.io.InputStream in)
Description copied from class: FileLoader
Should be implemented by sub-classes to actually perform the data load. An InputStream will automatically be created from the users choice (whether the file system or URL) and passed as a parameter to this method

Specified by:
loadData in class FileLoader
Parameters:
in - An InputStream from which the data can be read. Guaranteed not to be null. The stream will be closed by the base class.
See Also:
FileLoader.loadData(InputStream)