Package liquibase.changelog
Class PropertyExpandingStream
java.lang.Object
java.io.InputStream
liquibase.changelog.PropertyExpandingStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Constructor Summary
ConstructorDescriptionPropertyExpandingStream
(ChangeSet changeSet, InputStream stream) This method will read the content of the given stream and make any parameter update on the content. -
Method Summary
Methods inherited from class java.io.InputStream
read, read, skip
-
Constructor Details
-
PropertyExpandingStream
This method will read the content of the given stream and make any parameter update on the content. For example, making a property replacement into procedure text read from the sql file.- Parameters:
stream
-
-
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
available
- Overrides:
available
in classInputStream
- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupported
in classInputStream
-
mark
public void mark(int readLimit) - Overrides:
mark
in classInputStream
-
reset
- Overrides:
reset
in classInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-