Package org.apache.ibatis.migration
Class MigrationReader
java.lang.Object
java.io.Reader
java.io.FilterReader
org.apache.ibatis.migration.MigrationReader
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Readable
-
Field Summary
Fields inherited from class java.io.FilterReader
in
-
Constructor Summary
ConstructorDescriptionMigrationReader
(File file, String charset, boolean undo, Properties variables) MigrationReader
(InputStream inputStream, String charset, boolean undo, Properties variables) -
Method Summary
Modifier and TypeMethodDescriptionint
read()
int
read
(char[] cbuf, int off, int len) protected static Reader
scriptFileReader
(InputStream inputStream, String charset) Methods inherited from class java.io.FilterReader
close, mark, markSupported, ready, reset, skip
-
Constructor Details
-
MigrationReader
public MigrationReader(File file, String charset, boolean undo, Properties variables) throws IOException - Throws:
IOException
-
MigrationReader
-
-
Method Details
-
read
- Overrides:
read
in classFilterReader
- Throws:
IOException
-
read
- Overrides:
read
in classFilterReader
- Throws:
IOException
-
scriptFileReader
-