Class PlaceholderReplacingReader
- java.lang.Object
-
- java.io.Reader
-
- java.io.FilterReader
-
- migratedb.v1.core.internal.parser.PlaceholderReplacingReader
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
public class PlaceholderReplacingReader extends FilterReader
-
-
Field Summary
-
Fields inherited from class java.io.FilterReader
in
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PlaceholderReplacingReadercreate(Configuration configuration, ParsingContext parsingContext, Reader reader)static PlaceholderReplacingReadercreateForScriptMigration(Configuration configuration, ParsingContext parsingContext, Reader reader)voidmark(int readAheadLimit)intread()intread(char[] cbuf, int off, int len)voidreset()-
Methods inherited from class java.io.FilterReader
close, markSupported, ready, skip
-
Methods inherited from class java.io.Reader
nullReader, read, read, transferTo
-
-
-
-
Method Detail
-
create
public static PlaceholderReplacingReader create(Configuration configuration, ParsingContext parsingContext, Reader reader)
-
createForScriptMigration
public static PlaceholderReplacingReader createForScriptMigration(Configuration configuration, ParsingContext parsingContext, Reader reader)
-
read
public int read() throws IOException- Overrides:
readin classFilterReader- Throws:
IOException
-
read
public int read(char[] cbuf, int off, int len) throws IOException- Overrides:
readin classFilterReader- Throws:
IOException
-
mark
public void mark(int readAheadLimit) throws IOException- Overrides:
markin classFilterReader- Throws:
IOException
-
reset
public void reset() throws IOException- Overrides:
resetin classFilterReader- Throws:
IOException
-
-