public abstract class AbstractBinaryReferenceParser extends java.lang.Object implements BinaryReferenceParser
| コンストラクタと説明 |
|---|
AbstractBinaryReferenceParser() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
java.lang.String[] |
getContinuableExceptions()
処理継続可能な例外クラス名を取得する
|
protected java.util.Set<MediaType> |
getCustomSupportTypes() |
BinaryReferenceParser |
getParser(BinaryReference br) |
protected java.util.Set<MediaType> |
getSupportTypes() |
java.lang.String |
parse(BinaryReference br,
int writeLimit) |
protected abstract Parser |
parserInstance() |
void |
setContinuableExceptions(java.lang.String[] continuableExceptions)
処理継続可能な例外クラス名を設定する
バイナリ情報をパースする際に、例外が発生しても処理継続したい例外クラス名を設定する。
|
public BinaryReferenceParser getParser(BinaryReference br)
getParser インタフェース内 BinaryReferenceParserpublic java.lang.String parse(BinaryReference br, int writeLimit)
parse インタフェース内 BinaryReferenceParserpublic void setContinuableExceptions(java.lang.String[] continuableExceptions)
バイナリ情報をパースする際に、例外が発生しても処理継続したい例外クラス名を設定する。 設定値にはパース時に発生する例外の完全修飾クラス名を設定する。
例外クラスがプライベートである可能性を考慮し、クラス名を設定値とする。
continuableExceptions - 処理継続可能な例外クラス名public java.lang.String[] getContinuableExceptions()
protected java.util.Set<MediaType> getCustomSupportTypes()
protected java.util.Set<MediaType> getSupportTypes()
protected abstract Parser parserInstance()