|
DLESE Tools v1.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Abstract class for creating a typed Lucene Document. A DocReader should be implemented to read Documents of this type. A switch must then be
implemented in ResultDoc.getDocReader() to
select the appropriate DocReader.
DocReader,
ResultDoc| Method Summary | |
|---|---|
String |
getDocType()
Returns a unique document type key for this kind of document, corresponding to the format type. |
String |
getReaderClass()
Gets the name of the concrete DocReader
class that is used to read this type of Document, for example "ItemDocReader". |
| Method Detail |
public String getDocType()
throws Exception
StandardAnalyzer so it
must be lowercase and should not contain any stop words.
Exception - This method should throw and Exception with
appropriate error message if an error occurs.public String getReaderClass()
DocReader
class that is used to read this type of Document, for example "ItemDocReader".
DocReader
|
DLESE Tools v1.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||