|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.dlese.dpc.index.writer.ErrorDocException
public class ErrorDocException
Exception that may be used to pass text and keywords to be written to the index by the ErrorFileIndexingWriter if an error occurs during indexing.
ErrorFileIndexingWriter
,
Serialized FormConstructor Summary | |
---|---|
ErrorDocException(String message,
String errorDocType)
Constructs an Exception with the specified detail message. |
Method Summary | |
---|---|
String |
getErrorDocType()
|
String[] |
getKeywordFieldNames()
Gets the names of the fields to be indexed as keywords. |
String |
getKeywordFieldValue(String fieldName)
Gets the value of the field to be indexed as a keyword. |
String[] |
getTextFieldNames()
Gets the names of the fields to be indexed as text. |
String |
getTextFieldValue(String fieldName)
Gets the value of the field to be indexed as text. |
void |
putKeywordField(String fieldName,
String keyword)
Adds a field to be indexed as a keyword. |
void |
putTextField(String fieldName,
String text)
Adds a field to be indexed as text. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ErrorDocException(String message, String errorDocType)
Exception
with the specified detail message.
message
- the detailed message.Method Detail |
---|
public String getErrorDocType()
public void putKeywordField(String fieldName, String keyword)
fieldName
- The field namekeyword
- The field contentpublic String[] getKeywordFieldNames()
public String getKeywordFieldValue(String fieldName)
fieldName
- The field name
public void putTextField(String fieldName, String text)
fieldName
- The field nametext
- The field valuepublic String[] getTextFieldNames()
public String getTextFieldValue(String fieldName)
fieldName
- The field name
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |