Class FileInputStreamAccess
java.lang.Object
org.hibernate.boot.archive.internal.FileInputStreamAccess
- All Implemented Interfaces:
Serializable,InputStreamAccess
An InputStreamAccess implementation based on a File reference
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet access to the stream.Get the name of the resource backing the streamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.boot.archive.spi.InputStreamAccess
fromStream
-
Constructor Details
-
FileInputStreamAccess
-
-
Method Details
-
getStreamName
Description copied from interface:InputStreamAccessGet the name of the resource backing the stream- Specified by:
getStreamNamein interfaceInputStreamAccess- Returns:
- The backing resource name
-
accessInputStream
Description copied from interface:InputStreamAccessGet access to the stream. Can be called multiple times, a different stream instance should be returned each time.- Specified by:
accessInputStreamin interfaceInputStreamAccess- Returns:
- The stream
-