@Beta @CleanupObligation public final class AppendableLimiterWithOverflow extends Object implements Appendable, Closeable
| Modifier and Type | Class and Description |
|---|---|
static interface |
AppendableLimiterWithOverflow.OverflowSupplier
provide the overflow.
|
| Constructor and Description |
|---|
AppendableLimiterWithOverflow(int limit,
Appendable destination,
AppendableLimiterWithOverflow.OverflowSupplier owflSupplier) |
AppendableLimiterWithOverflow(int limit,
File overflowFile,
CharSequence destinationSuffix,
Charset characterSet,
Appendable destination) |
| Modifier and Type | Method and Description |
|---|---|
Appendable |
append(char c) |
Appendable |
append(CharSequence csq) |
Appendable |
append(CharSequence csq,
int start,
int end) |
void |
close() |
void |
createOverflowIfNeeded() |
String |
toString() |
public AppendableLimiterWithOverflow(int limit,
File overflowFile,
CharSequence destinationSuffix,
Charset characterSet,
Appendable destination)
public AppendableLimiterWithOverflow(int limit,
Appendable destination,
AppendableLimiterWithOverflow.OverflowSupplier owflSupplier)
public Appendable append(CharSequence csq) throws IOException
append in interface AppendableIOExceptionpublic Appendable append(CharSequence csq, int start, int end) throws IOException
append in interface AppendableIOExceptionpublic Appendable append(char c) throws IOException
append in interface AppendableIOExceptionpublic void createOverflowIfNeeded()
throws IOException
IOException@DischargesObligation
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2018 SPF4J. All rights reserved.