Class AttachmentDataStream.FileWrapper
- java.lang.Object
- 
- com.atlassian.confluence.pages.persistence.dao.AttachmentDataStream.FileWrapper
 
- 
- All Implemented Interfaces:
- AttachmentDataStream,- org.springframework.core.io.InputStreamSource
 - Enclosing interface:
- AttachmentDataStream
 
 @Deprecated public static class AttachmentDataStream.FileWrapper extends Object implements AttachmentDataStream Deprecated.AnAttachmentDataStreamimplementation that wraps a singleFile.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com.atlassian.confluence.pages.persistence.dao.AttachmentDataStreamAttachmentDataStream.FileWrapper, AttachmentDataStream.InputStreamWrapper, AttachmentDataStream.RandomFileWrapper
 
- 
 - 
Constructor SummaryConstructors Constructor Description FileWrapper(AttachmentDataStreamType dataStreamType, File file)Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FilegetFile()Deprecated.InputStreamgetInputStream()Deprecated.Obtains anInputStreamfor this stream.AttachmentDataStreamTypegetType()Deprecated.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.atlassian.confluence.pages.persistence.dao.AttachmentDataStreamlimit
 
- 
 
- 
- 
- 
Constructor Detail- 
FileWrapperpublic FileWrapper(AttachmentDataStreamType dataStreamType, File file) Deprecated.
 
- 
 - 
Method Detail- 
getTypepublic AttachmentDataStreamType getType() Deprecated.- Specified by:
- getTypein interface- AttachmentDataStream
- Returns:
- The AttachmentDataStreamTypeassociated with this stream.
 
 - 
getInputStreampublic 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 interface- AttachmentDataStream
- Specified by:
- getInputStreamin interface- org.springframework.core.io.InputStreamSource
- Throws:
- IOException
 
 - 
getFilepublic File getFile() Deprecated.
 
- 
 
-