public interface ReplayCharSequence extends CharSequence, Closeable
close() method.
Users of implementations of this interface must call close() so
implementations get a chance at cleaning up after themselves.| Modifier and Type | Field and Description |
|---|---|
static Charset |
FALLBACK_CHARSET
charset to use in replay when declared value
is absent/illegal/unavailable
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Call this method when done so implementation has chance to clean up
resources.
|
Charset |
getCharset()
Return the effective Charset used to create this CharSequence from
(raw byte) source material.
|
CharacterCodingException |
getCodingException()
Return the first coding-exception encountered, if the count > 0.
|
long |
getDecodeExceptionCount()
Report count of decoder errors silently eaten during ReplayCharSequence
use.
|
boolean |
isOpen() |
charAt, length, subSequence, toStringstatic final Charset FALLBACK_CHARSET
void close()
throws IOException
close in interface AutoCloseableclose in interface CloseableIOException - Problem cleaning up file system resources.long getDecodeExceptionCount()
CharacterCodingException getCodingException()
boolean isOpen()
close() has been calledCharset getCharset()
Copyright © 2015 The International Internet Preservation Consortium. All Rights Reserved.