public class CharSeekers extends Object
CharSeeker implementations.| Modifier and Type | Method and Description |
|---|---|
static CharSeeker |
charSeeker(CharReadable reader,
Configuration config,
boolean readAhead)
Instantiates a
BufferedCharSeeker with optional read-ahead capability. |
static CharSeeker |
charSeeker(CharReadable reader,
int bufferSize,
boolean readAhead,
char quotationCharacter)
Instantiates a
BufferedCharSeeker with optional read-ahead capability. |
public static CharSeeker charSeeker(CharReadable reader, Configuration config, boolean readAhead)
BufferedCharSeeker with optional read-ahead capability.reader - the CharReadable which is the source of data, f.ex. a FileReader.config - Configuration for the resulting CharSeeker.readAhead - whether or not to start a read-ahead thread
which strives towards always keeping one buffer worth of data read and available from I/O when it's
time for the BufferedCharSeeker to read more data.CharSeeker with optional read-ahead capability.public static CharSeeker charSeeker(CharReadable reader, int bufferSize, boolean readAhead, char quotationCharacter)
BufferedCharSeeker with optional read-ahead capability.reader - the CharReadable which is the source of data, f.ex. a FileReader.bufferSize - buffer size of the seeker and, if enabled, the read-ahead thread.readAhead - whether or not to start a read-ahead thread
which strives towards always keeping one buffer worth of data read and available from I/O when it's
time for the BufferedCharSeeker to read more data.quotationCharacter - character to interpret quotation character.CharSeeker with optional read-ahead capability.Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.