maito.datacollecting
Interface DataSource

All Known Implementing Classes:
FileDataSource, OAIPMHDataSource

public interface DataSource

Represents a data source where data is collected from.

All implementing classes MUST have a constructor with 2 parameters. The first parameter must be a java.util.Properties containing implementation spesific parameters. The second parameter must be a maito.datacollecting.RecordParser.

See Also:
RecordParser

Method Summary
 void update()
          Implementing classes must perform the updating here.
 

Method Detail

update

void update()
            throws DataSourceException
Implementing classes must perform the updating here.

Throws:
DataSourceException