Package liquibase.resource
Class InputStreamList
java.lang.Object
liquibase.resource.InputStreamList
- All Implemented Interfaces:
- AutoCloseable,- Iterable<InputStream>
A list of 
InputStreams. Custom class to allow try-with-resources using output from ResourceAccessor.openStreams(String, String).- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanadd(URI uri, InputStream inputStream) voidaddAll(InputStreamList streams) protected booleanalreadySaw(URI uri) voidclose()Close the streams in this collection.voidforEach(Consumer<? super InputStream> action) getURIs()booleanisEmpty()iterator()intsize()
- 
Constructor Details- 
InputStreamListpublic InputStreamList()
- 
InputStreamList
 
- 
- 
Method Details- 
add
- 
alreadySaw
- 
addAll
- 
closeClose the streams in this collection.- Specified by:
- closein interface- AutoCloseable
- Throws:
- IOException
 
- 
iterator- Specified by:
- iteratorin interface- Iterable<InputStream>
 
- 
forEach- Specified by:
- forEachin interface- Iterable<InputStream>
 
- 
spliterator- Specified by:
- spliteratorin interface- Iterable<InputStream>
 
- 
sizepublic int size()
- 
isEmptypublic boolean isEmpty()
- 
getURIs
 
-