| Package | Description |
|---|---|
| com.mware.ge.csv |
| Modifier and Type | Class and Description |
|---|---|
static class |
CharReadable.Adapter |
class |
MultiReadable
Joins multiple
CharReadable into one. |
class |
ThreadAheadReadable
Like an ordinary
CharReadable, it's just that the reading happens in a separate thread, so when
a consumer wants to ThreadAheadReadable.read(SectionedCharBuffer, int) more data it's already available, merely a memcopy away. |
| Modifier and Type | Field and Description |
|---|---|
static CharReadable |
CharReadable.EMPTY |
static CharReadable |
Readables.EMPTY |
protected CharReadable |
CharReadableChunker.reader |
| Modifier and Type | Method and Description |
|---|---|
static CharReadable |
Readables.files(Charset charset,
File... files) |
static CharReadable |
ThreadAheadReadable.threadAhead(CharReadable actual,
int bufferSize) |
static CharReadable |
Readables.wrap(InputStream stream,
String sourceName,
Charset charset) |
static CharReadable |
Readables.wrap(InputStream stream,
String sourceName,
Charset charset,
long length)
Wraps a
InputStream in a CharReadable. |
static CharReadable |
Readables.wrap(Reader reader,
long length)
Wraps a
Reader in a CharReadable. |
static CharReadable |
Readables.wrap(String data) |
| Modifier and Type | Method and Description |
|---|---|
static RawIterator<CharReadable,IOException> |
Readables.individualFiles(Charset charset,
File... files) |
| Modifier and Type | Method and Description |
|---|---|
static CharSeeker |
CharSeekers.charSeeker(CharReadable reader,
Configuration config,
boolean readAhead)
Instantiates a
BufferedCharSeeker with optional read-ahead capability. |
static CharSeeker |
CharSeekers.charSeeker(CharReadable reader,
int bufferSize,
boolean readAhead,
char quotationCharacter)
Instantiates a
BufferedCharSeeker with optional read-ahead capability. |
static char[] |
Readables.extractFirstLineFrom(CharReadable source)
Extracts the first line, i.e characters until the first newline or end of stream.
|
static CharReadable |
ThreadAheadReadable.threadAhead(CharReadable actual,
int bufferSize) |
| Constructor and Description |
|---|
AutoReadingSource(CharReadable reader,
int bufferSize) |
AutoReadingSource(CharReadable reader,
SectionedCharBuffer charBuffer) |
CharReadableChunker(CharReadable reader,
int chunkSize) |
ClosestNewLineChunker(CharReadable reader,
int chunkSize) |
| Constructor and Description |
|---|
MultiReadable(RawIterator<CharReadable,IOException> readers) |
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.