/** * @see org.opencms.search.extractors.I_CmsTextExtractor#extractText(java.io.InputStream) */ public I_CmsExtractionResult extractText(InputStream in) throws Exception { // encoding is null return extractText(in, null); }
/** * @see org.opencms.search.extractors.I_CmsTextExtractor#extractText(java.io.InputStream) */ public I_CmsExtractionResult extractText(InputStream in) throws Exception { // encoding is null // (using cast to disambiguate method) return extractText(in, (String)null); }
/** * @see org.opencms.search.extractors.I_CmsTextExtractor#extractText(byte[]) */ public I_CmsExtractionResult extractText(byte[] content) throws Exception { // encoding is null return extractText(content, null); }
/** * @see org.opencms.search.extractors.I_CmsTextExtractor#extractText(byte[], java.lang.String) */ public I_CmsExtractionResult extractText(byte[] content, String encoding) throws Exception { // call stream based method of extraction with encoding return extractText(new ByteArrayInputStream(content), encoding); }
/** * @see org.opencms.search.extractors.I_CmsTextExtractor#extractText(byte[]) */ public I_CmsExtractionResult extractText(byte[] content) throws Exception { // call stream based method of extraction without encoding return extractText(new ByteArrayInputStream(content)); }
/** * @see org.opencms.search.extractors.I_CmsTextExtractor#extractText(byte[], java.lang.String) */ public I_CmsExtractionResult extractText(byte[] content, String encoding) throws Exception { // call stream based method of extraction m_inputBuffer = content; return extractText(new ByteArrayInputStream(content), encoding); }
/** * @see org.opencms.search.extractors.I_CmsTextExtractor#extractText(java.io.InputStream, java.lang.String) */ public I_CmsExtractionResult extractText(InputStream in, String encoding) throws Exception { // read the byte content byte[] text = CmsFileUtil.readFully(in); // call byte array based method of extraction return extractText(text, encoding); }
/** * @see org.opencms.search.extractors.I_CmsTextExtractor#extractText(java.io.InputStream, java.lang.String) */ public I_CmsExtractionResult extractText(InputStream in, String encoding) throws Exception { // read the byte content byte[] text = CmsFileUtil.readFully(in); // call byte array based method of extraction return extractText(text, encoding); }