public final class TruncatingBufferedPrintWriter extends PrintWriter implements CharSequence
out| Modifier and Type | Method and Description |
|---|---|
PrintWriter |
append(CharSequence seq) |
PrintWriter |
append(CharSequence seq,
int startIndex,
int endIndex) |
char[] |
buffer() |
int |
capacity() |
char |
charAt(int index) |
void |
close() |
int |
length() |
static TruncatingBufferedPrintWriter |
ofCapacity(int capacity) |
int |
position() |
void |
position(int index) |
CharSequence |
subSequence(int startIndex,
int endIndex) |
String |
toString() |
boolean |
truncated() |
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 length()
length in interface CharSequencepublic char charAt(int index)
charAt in interface CharSequencepublic PrintWriter append(CharSequence seq)
append in interface Appendableappend in class PrintWriterpublic PrintWriter append(CharSequence seq, int startIndex, int endIndex)
append in interface Appendableappend in class PrintWriterpublic 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.