Package org.hibernate.boot.archive.spi
Interface InputStreamAccess
-
- All Known Implementing Classes:
VirtualFileInputStreamAccess
public interface InputStreamAccess
Contract for building InputStreams, especially in on-demand situations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.InputStream
accessInputStream()
Get access to the stream.java.lang.String
getStreamName()
Get the name of the resource backing the stream
-
-
-
Method Detail
-
getStreamName
java.lang.String getStreamName()
Get the name of the resource backing the stream- Returns:
- The backing resource name
-
accessInputStream
java.io.InputStream accessInputStream()
Get access to the stream. Can be called multiple times, a different stream instance should be returned each time.- Returns:
- The stream
-
-