public final class TruncatingBufferedPrintWriter extends PrintWriter implements CharSequence
out| Modifier and Type | Method and Description |
|---|---|
char[] |
buffer() |
int |
capacity() |
char |
charAt(int index) |
void |
close() |
int |
indexOf(CharSequence seq) |
int |
length() |
static TruncatingBufferedPrintWriter |
ofCapacity(int capacity) |
int |
position() |
void |
position(int index) |
CharSequence |
subSequence(int startIndex,
int endIndex) |
String |
toString() |
boolean |
truncated() |
append, append, append, checkError, clearError, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchars, codePointspublic static TruncatingBufferedPrintWriter ofCapacity(int capacity)
public char[] buffer()
public int position()
public void position(int index)
public int capacity()
public boolean truncated()
public int indexOf(CharSequence seq)
public int length()
length in interface CharSequencepublic char charAt(int index)
charAt in interface CharSequencepublic CharSequence subSequence(int startIndex, int endIndex)
subSequence in interface CharSequencepublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class PrintWriterpublic String toString()
toString in interface CharSequencetoString in class ObjectCopyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.