|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmaito.datacollecting.oaipmh.OAIPMHRecordParser
public class OAIPMHRecordParser
Parses records from an incoming OAI-PMH stream NOTE: this actually works with any other character stream as long as the content is in a format similar to OAI-PMH / DC XML
Constructor Summary | |
---|---|
OAIPMHRecordParser(RecordConstructor recordConstructor,
DataStorage dataStorage)
|
Method Summary | |
---|---|
void |
putData(java.lang.String part)
Adds the part to the internal buffer and checks out if there's a full record in the buffer already. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OAIPMHRecordParser(RecordConstructor recordConstructor, DataStorage dataStorage)
Method Detail |
---|
public void putData(java.lang.String part)
DataStorage
.
If several full Records are found in buffer, does the same to them all.
putData
in interface RecordParser
part
- The next part of the record data
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |