Interface OutputLengthObserver
- All Known Implementing Classes:
ExceptionThrowingOutputLengthObserver,NoopOutputLengthObserver
public interface OutputLengthObserver
An interface that observes the length of output as it is written to streams and writers
and hence allows action to be taken if its too much
-
Method Details
-
nBytes
void nBytes(long n) - Parameters:
n- the number of bytes about to be written
-
nChars
void nChars(long n) - Parameters:
n- the number of characters about to be written
-