Class PostgresBlobResourceOutputStream
java.lang.Object
java.io.OutputStream
internal.org.springframework.content.jpa.io.BlobResourceOutputStream
internal.org.springframework.content.jpa.io.PostgresBlobResourceOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionPostgresBlobResourceOutputStream(BlobResource blobResource, org.springframework.jdbc.core.JdbcTemplate template) -
Method Summary
Methods inherited from class internal.org.springframework.content.jpa.io.BlobResourceOutputStream
getResource, getTemplate, writeMethods inherited from class java.io.OutputStream
flush, nullOutputStream, write, write
-
Constructor Details
-
PostgresBlobResourceOutputStream
public PostgresBlobResourceOutputStream(BlobResource blobResource, org.springframework.jdbc.core.JdbcTemplate template)
-
-
Method Details
-
initializeStream
- Overrides:
initializeStreamin classBlobResourceOutputStream
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classBlobResourceOutputStream- Throws:
IOException
-
getBlob
- Overrides:
getBlobin classBlobResourceOutputStream
-