public class PostgresBlobResourceOutputStream extends BlobResourceOutputStream
| Constructor and Description |
|---|
PostgresBlobResourceOutputStream(BlobResource blobResource,
org.springframework.jdbc.core.JdbcTemplate template) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Blob |
getBlob() |
protected OutputStream |
initializeStream() |
getResource, getTemplate, writeflush, write, writepublic PostgresBlobResourceOutputStream(BlobResource blobResource, org.springframework.jdbc.core.JdbcTemplate template)
protected OutputStream initializeStream()
initializeStream in class BlobResourceOutputStreampublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class BlobResourceOutputStreamIOExceptionpublic Blob getBlob()
getBlob in class BlobResourceOutputStreamCopyright © 2023 Paul Warren. All rights reserved.