public class BoundedOutputStream extends ByteArrayOutputStream
buf, count| Constructor and Description |
|---|
BoundedOutputStream(int maxBytes,
int maxLines) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLineCount() |
boolean |
isTruncated() |
String |
toString() |
String |
toString(String charset) |
String |
toStringWithSummary() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, reset, size, toByteArray, toString, writeToflush, writepublic void write(int b)
write in class ByteArrayOutputStreampublic void write(byte[] b,
int off,
int len)
write in class ByteArrayOutputStreampublic boolean isTruncated()
public int getLineCount()
public String toString()
toString in class ByteArrayOutputStreampublic String toString(String charset) throws UnsupportedEncodingException
toString in class ByteArrayOutputStreamUnsupportedEncodingExceptionpublic String toStringWithSummary()
Copyright © 2026 vpc open source initiative. All rights reserved.