Package com.mchange.v2.csv
Class CsvBufferedReader
- java.lang.Object
-
- java.io.Reader
-
- java.io.BufferedReader
-
- com.mchange.v2.csv.CsvBufferedReader
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,java.lang.Readable
public class CsvBufferedReader extends java.io.BufferedReader
-
-
Constructor Summary
Constructors Constructor Description CsvBufferedReader(java.io.BufferedReader inner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.util.stream.Stream<java.lang.String>
lines()
void
mark(int readAheadLimit)
boolean
markSupported()
int
read()
int
read(char[] cbuf, int off, int len)
java.lang.String
readLine()
java.lang.String[]
readSplitLine()
boolean
ready()
void
reset()
long
skip(long n)
-
-
-
Method Detail
-
readLine
public java.lang.String readLine() throws java.io.IOException
- Overrides:
readLine
in classjava.io.BufferedReader
- Throws:
java.io.IOException
-
readSplitLine
public java.lang.String[] readSplitLine() throws java.io.IOException, MalformedCsvException
- Throws:
java.io.IOException
MalformedCsvException
-
read
public int read() throws java.io.IOException
- Overrides:
read
in classjava.io.BufferedReader
- Throws:
java.io.IOException
-
read
public int read(char[] cbuf, int off, int len) throws java.io.IOException
- Overrides:
read
in classjava.io.BufferedReader
- Throws:
java.io.IOException
-
skip
public long skip(long n) throws java.io.IOException
- Overrides:
skip
in classjava.io.BufferedReader
- Throws:
java.io.IOException
-
ready
public boolean ready() throws java.io.IOException
- Overrides:
ready
in classjava.io.BufferedReader
- Throws:
java.io.IOException
-
markSupported
public boolean markSupported()
- Overrides:
markSupported
in classjava.io.BufferedReader
-
mark
public void mark(int readAheadLimit) throws java.io.IOException
- Overrides:
mark
in classjava.io.BufferedReader
- Throws:
java.io.IOException
-
reset
public void reset() throws java.io.IOException
- Overrides:
reset
in classjava.io.BufferedReader
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Overrides:
close
in classjava.io.BufferedReader
- Throws:
java.io.IOException
-
lines
public java.util.stream.Stream<java.lang.String> lines()
- Overrides:
lines
in classjava.io.BufferedReader
-
-