java.lang.Object
java.io.Reader
com.aoapps.sql.wrapper.ReaderWrapper
Wraps a
Reader.- Author:
- AO Industries, Inc.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected ConnectionWrapperImplGets the connection wrapper.Gets the reader that is wrapped.booleanvoidmark(int readAheadLimit) booleanintread()intread(char[] cbuf) intread(char[] cbuf, int off, int len) intread(CharBuffer target) booleanready()voidreset()longskip(long n) toString()longtransferTo(Writer out) Methods inherited from class java.io.Reader
nullReaderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
getWrappedin interfaceWrapper
-
isNoClose
public boolean isNoClose() -
toString
-
read
- Specified by:
readin interfaceReadable- Overrides:
readin classReader- Throws:
IOException
-
read
- Overrides:
readin classReader- Throws:
IOException
-
read
- Overrides:
readin classReader- Throws:
IOException
-
read
- Specified by:
readin classReader- Throws:
IOException
-
skip
- Overrides:
skipin classReader- Throws:
IOException
-
ready
- Overrides:
readyin classReader- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classReader
-
mark
- Overrides:
markin classReader- Throws:
IOException
-
reset
- Overrides:
resetin classReader- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceNoClose- Specified by:
closein classReader- Throws:
IOException
-
transferTo
- Overrides:
transferToin classReader- Throws:
IOException
-
