@InterfaceAudience.Private public abstract class BaseDecoder extends Object implements Codec.Decoder
| Modifier and Type | Class and Description |
|---|---|
protected static class |
BaseDecoder.PBIS |
| Modifier and Type | Field and Description |
|---|---|
protected BaseDecoder.PBIS |
in |
protected static Log |
LOG |
| Constructor and Description |
|---|
BaseDecoder(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
advance()
Advance the scanner 1 cell.
|
Cell |
current() |
protected abstract Cell |
parseCell()
Extract a Cell.
|
protected static final Log LOG
protected final BaseDecoder.PBIS in
public BaseDecoder(InputStream in)
public boolean advance()
throws IOException
CellScanneradvance in interface CellScannerCellScanner.current() will return a valid CellIOExceptionprotected abstract Cell parseCell() throws IOException
IOExceptionpublic Cell current()
current in interface CellScanner