|Constructor and Description|
Creates a new writer that uses a chunk size of
Creates a new writer that uses the specified chunk size.
|Modifier and Type||Method and Description|
writes the data buffer in chunks to the underlying writer
public ChunkedWriter(Writer writer, int chunkSize)
writer- the writer to wrap
chunkSize- the chunk size to use; must be a positive number.
IllegalArgumentException- if the chunk size is <= 0
public void write(char data, int srcOffset, int length) throws IOException
Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.