java.lang.Object
java.io.Reader
com.aoapps.sql.wrapper.ReaderWrapper
Wraps a
Reader
.- Author:
- AO Industries, Inc.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected ConnectionWrapperImpl
Gets the connection wrapper.Gets the reader that is wrapped.boolean
void
mark
(int readAheadLimit) boolean
int
read()
int
read
(char[] cbuf) int
read
(char[] cbuf, int off, int len) int
read
(CharBuffer target) boolean
ready()
void
reset()
long
skip
(long n) toString()
Methods inherited from class java.io.Reader
nullReader, transferTo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.aoapps.sql.wrapper.Wrapper
isWrapperFor, unwrap
-
Constructor Details
-
ReaderWrapper
-
-
Method Details
-
getConnectionWrapper
Gets the connection wrapper. -
getWrapped
Gets the reader that is wrapped.- Specified by:
getWrapped
in interfaceWrapper
-
isNoClose
public boolean isNoClose() -
toString
-
read
- Specified by:
read
in interfaceReadable
- Overrides:
read
in classReader
- Throws:
IOException
-
read
- Overrides:
read
in classReader
- Throws:
IOException
-
read
- Overrides:
read
in classReader
- Throws:
IOException
-
read
- Specified by:
read
in classReader
- Throws:
IOException
-
skip
- Overrides:
skip
in classReader
- Throws:
IOException
-
ready
- Overrides:
ready
in classReader
- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupported
in classReader
-
mark
- Overrides:
mark
in classReader
- Throws:
IOException
-
reset
- Overrides:
reset
in classReader
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceNoClose
- Specified by:
close
in classReader
- Throws:
IOException
-