public class PostgresBlobResource extends AbstractBlobResource
AbstractBlobResource.ClosingInputStream| Constructor and Description |
|---|
PostgresBlobResource(Object id,
org.springframework.jdbc.core.JdbcTemplate template,
org.springframework.transaction.PlatformTransactionManager txnMgr) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
contentLength, createRelative, exists, getDescription, getFile, getFilename, getId, getSelectBlobSQL, getTemplate, getTransactionManager, getURI, getURL, isOpen, isReadable, isWritable, lastModified, setIdpublic PostgresBlobResource(Object id, org.springframework.jdbc.core.JdbcTemplate template, org.springframework.transaction.PlatformTransactionManager txnMgr)
public InputStream getInputStream() throws IOException
getInputStream in interface org.springframework.core.io.InputStreamSourcegetInputStream in class AbstractBlobResourceIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream in interface org.springframework.core.io.WritableResourcegetOutputStream in class AbstractBlobResourceIOExceptionpublic void delete()
throws IOException
delete in interface DeletableResourcedelete in class AbstractBlobResourceIOExceptionCopyright © 2023 Paul Warren. All rights reserved.