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, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
chars, codePoints
public 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 CharSequence
public char charAt(int index)
charAt
in interface CharSequence
public CharSequence subSequence(int startIndex, int endIndex)
subSequence
in interface CharSequence
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class PrintWriter
public String toString()
toString
in interface CharSequence
toString
in class Object
Copyright © 1999-2023 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.