クラス AbstractBinaryReferenceParser

java.lang.Object
org.iplass.mtp.impl.fulltextsearch.parser.AbstractBinaryReferenceParser
すべての実装されたインタフェース:
BinaryReferenceParser
直系の既知のサブクラス:
BinaryAutoDetectParser, BinaryHtmlParser, BinaryOfficeParser, BinaryOOXMLParser, BinaryPDFParser, BinaryTextParser, BinaryXMLParser

public abstract class AbstractBinaryReferenceParser extends Object implements BinaryReferenceParser
  • コンストラクタの詳細

    • AbstractBinaryReferenceParser

      public AbstractBinaryReferenceParser()
  • メソッドの詳細

    • getParser

      public BinaryReferenceParser getParser(BinaryReference br)
      定義:
      getParser インタフェース内 BinaryReferenceParser
    • parse

      public String parse(BinaryReference br, int writeLimit)
      定義:
      parse インタフェース内 BinaryReferenceParser
    • setContinuableExceptions

      public void setContinuableExceptions(String[] continuableExceptions)
      処理継続可能な例外クラス名を設定する

      バイナリ情報をパースする際に、例外が発生しても処理継続したい例外クラス名を設定する。 設定値にはパース時に発生する例外の完全修飾クラス名を設定する。

      例外クラスがプライベートである可能性を考慮し、クラス名を設定値とする。

      パラメータ:
      continuableExceptions - 処理継続可能な例外クラス名
    • getContinuableExceptions

      public String[] getContinuableExceptions()
      処理継続可能な例外クラス名を取得する
      戻り値:
      処理継続可能な例外クラス名
    • getCustomSupportTypes

      protected Set<org.apache.tika.mime.MediaType> getCustomSupportTypes()
    • getSupportTypes

      protected Set<org.apache.tika.mime.MediaType> getSupportTypes()
    • parserInstance

      protected abstract org.apache.tika.parser.Parser parserInstance()