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