|
IBM Information Integrator for Content V8.2 APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.beans.infomining.CMBDefaultContentProvider
Default implementation of the CMBContentProvider
interface.
This ContentProvider implementation allows additional properties
to be specified to customize the processing of CMBItems.
Field Summary | |
static java.lang.String |
PLAIN_TEXT_Big5
filter encoding for plain text, Big5, Traditional Chinese |
static java.lang.String |
PLAIN_TEXT_EUC_CN
filter encoding for plain text, GB2312, EUC encoding, Simplified Chinese |
static java.lang.String |
PLAIN_TEXT_EUC_KR
filter encoding for plain text, KS C 5601, EUC encoding, Korean |
static java.lang.String |
PLAIN_TEXT_ISO8859_1
plain text, ISO 8859-1, Latin alphabet No. |
static java.lang.String |
PLAIN_TEXT_SJIS
filter encoding for plain text, Shift-JIS, Japanese |
static java.lang.String |
PLAIN_TEXT_UnicodeBig
filter encoding for plain text, Sixteen-bit Unicode Transformation Format, big-endian byte order, with byte-order mark |
static java.lang.String |
PLAIN_TEXT_UnicodeLittle
filter encoding for plain text, Sixteen-bit Unicode Transformation Format, little-endian byte order, with byte-order mark |
static java.lang.String |
PLAIN_TEXT_UTF16
filter encoding for plain text, Sixteen-bit Unicode Transformation Format, byte order specified by a mandatory initial byte-order mark |
static java.lang.String |
PLAIN_TEXT_UTF8
filter encoding for plain text, Eight-bit Unicode Transformation Format |
Constructor Summary | |
CMBDefaultContentProvider()
Creates a new default content provider. |
|
CMBDefaultContentProvider(int[] partIndices)
Creates a new default content provider. |
Method Summary | |
CMBTextDocument |
getContent(com.ibm.mm.beans.CMBConnection connection,
com.ibm.mm.beans.CMBItem item)
Returns the text of the specified item to be used for text analysis. |
java.lang.String |
getFilterEncoding()
Returns the current filter encoding. |
int |
getMaxPartSize()
Get maximal number of bytes in a part. |
int[] |
getPartsMask()
Return indices of parts to be processed. |
void |
setFilterEncoding(java.lang.String encoding)
Set the encoding for the underlying filter to be used. |
void |
setMaxPartSize(int v)
Set maximal number of bytes in a part. |
void |
setPartsMask(int[] partIndices)
Set the part indices of the parts to be processed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String PLAIN_TEXT_ISO8859_1
public static final java.lang.String PLAIN_TEXT_UTF8
public static final java.lang.String PLAIN_TEXT_UTF16
public static final java.lang.String PLAIN_TEXT_UnicodeLittle
public static final java.lang.String PLAIN_TEXT_UnicodeBig
public static final java.lang.String PLAIN_TEXT_SJIS
public static final java.lang.String PLAIN_TEXT_EUC_CN
public static final java.lang.String PLAIN_TEXT_EUC_KR
public static final java.lang.String PLAIN_TEXT_Big5
Constructor Detail |
public CMBDefaultContentProvider()
public CMBDefaultContentProvider(int[] partIndices)
partIndices
- part indices of the parts to be processedMethod Detail |
public void setPartsMask(int[] partIndices)
partIndices
- array of part indicespublic int[] getPartsMask()
public int getMaxPartSize()
public void setMaxPartSize(int v)
v
- maximal number of bytes in a partpublic CMBTextDocument getContent(com.ibm.mm.beans.CMBConnection connection, com.ibm.mm.beans.CMBItem item) throws CMBContentProviderException
CMBContentProvider
getContent
in interface CMBContentProvider
com.ibm.mm.beans.infomining.CMBContentProvider
connection
- an open connection to the serveritem
- the current item to be processedCMBContentProviderException
- if an error occured while processing the current itempublic void setFilterEncoding(java.lang.String encoding)
DKIKFDocumentFilter
.encoding
- filter encoding, use public fields or fields from DKIKFDocumentFilter
.DKIKFDocumentFilter
,
getFilterEncoding()
public java.lang.String getFilterEncoding()
setFilterEncoding(String)
|
IBM Information Integrator for Content V8.2 APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |