Class SQLServerBlobResource
java.lang.Object
org.springframework.content.jpa.io.AbstractBlobResource
internal.org.springframework.content.jpa.io.SQLServerBlobResource
- All Implemented Interfaces:
DeletableResource,BlobResource,org.springframework.core.io.InputStreamSource,org.springframework.core.io.Resource,org.springframework.core.io.WritableResource
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.content.jpa.io.AbstractBlobResource
AbstractBlobResource.ClosingInputStream -
Constructor Summary
ConstructorsConstructorDescriptionSQLServerBlobResource(Object id, org.springframework.jdbc.core.JdbcTemplate template, org.springframework.transaction.PlatformTransactionManager txnMgr) -
Method Summary
Methods inherited from class org.springframework.content.jpa.io.AbstractBlobResource
contentLength, createRelative, delete, exists, getDescription, getFile, getFilename, getId, getOutputStream, getSelectBlobSQL, getTemplate, getTransactionManager, getURI, getURL, isOpen, isReadable, isWritable, lastModified, setIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.io.Resource
getContentAsByteArray, getContentAsString, isFile, readableChannelMethods inherited from interface org.springframework.core.io.WritableResource
writableChannel
-
Constructor Details
-
SQLServerBlobResource
public SQLServerBlobResource(Object id, org.springframework.jdbc.core.JdbcTemplate template, org.springframework.transaction.PlatformTransactionManager txnMgr)
-
-
Method Details
-
getInputStream
- Specified by:
getInputStreamin interfaceorg.springframework.core.io.InputStreamSource- Overrides:
getInputStreamin classAbstractBlobResource- Throws:
IOException
-