Class AttachmentDataStream.RandomFileWrapper
- java.lang.Object
 - 
- com.atlassian.confluence.pages.persistence.dao.AttachmentDataStream.RandomFileWrapper
 
 
- 
- All Implemented Interfaces:
 AttachmentDataStream,org.springframework.core.io.InputStreamSource
- Enclosing interface:
 - AttachmentDataStream
 
@Deprecated public static class AttachmentDataStream.RandomFileWrapper extends Object implements AttachmentDataStream
Deprecated. 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface com.atlassian.confluence.pages.persistence.dao.AttachmentDataStream
AttachmentDataStream.FileWrapper, AttachmentDataStream.InputStreamWrapper, AttachmentDataStream.RandomFileWrapper 
 - 
 
- 
Constructor Summary
Constructors Constructor Description RandomFileWrapper(AttachmentDataStreamType dataStreamType, File file, RangeRequest range)Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description InputStreamgetInputStream()Deprecated.Obtains anInputStreamfor this stream.AttachmentDataStreamTypegetType()Deprecated.- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface com.atlassian.confluence.pages.persistence.dao.AttachmentDataStream
limit 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
RandomFileWrapper
public RandomFileWrapper(AttachmentDataStreamType dataStreamType, File file, RangeRequest range) throws IOException
Deprecated.- Throws:
 IOException
 
 - 
 
- 
Method Detail
- 
getType
public AttachmentDataStreamType getType()
Deprecated.- Specified by:
 getTypein interfaceAttachmentDataStream- Returns:
 - The 
AttachmentDataStreamTypeassociated with this stream. 
 
- 
getInputStream
public InputStream getInputStream() throws IOException
Deprecated.Description copied from interface:AttachmentDataStreamObtains anInputStreamfor this stream. It is expected that each call creates a fresh stream.- Specified by:
 getInputStreamin interfaceAttachmentDataStream- Specified by:
 getInputStreamin interfaceorg.springframework.core.io.InputStreamSource- Throws:
 IOException
 
 - 
 
 -