Constructor and Description |
---|
LineEndingProcessingProvider(int bufferSize,
Provider input) |
LineEndingProcessingProvider(Provider input) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
LineSeparator |
getDetectedLineEnding() |
int |
read(char[] buffer,
int offset,
int len)
Reads characters into an array
|
public LineEndingProcessingProvider(Provider input)
public LineEndingProcessingProvider(int bufferSize, Provider input)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public LineSeparator getDetectedLineEnding()
public int read(char[] buffer, int offset, int len) throws IOException
Provider
read
in interface Provider
buffer
- Destination buffer. May not be null
.offset
- Offset at which to start storing characters. Must be ≥ 0.len
- The maximum possible number of characters to read. Must be ≥ 0.IOException
- if reading failsCopyright © 2007–2020. All rights reserved.