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.
An
AttachmentDataStream
implementation that wraps a single File
.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.confluence.pages.persistence.dao.AttachmentDataStream
AttachmentDataStream.FileWrapper, AttachmentDataStream.InputStreamWrapper, AttachmentDataStream.RandomFileWrapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFile()
Deprecated.Deprecated.Obtains anInputStream
for this stream.getType()
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 Details
-
FileWrapper
Deprecated.
-
-
Method Details
-
getType
Deprecated.- Specified by:
getType
in interfaceAttachmentDataStream
- Returns:
- The
AttachmentDataStreamType
associated with this stream.
-
getInputStream
Deprecated.Description copied from interface:AttachmentDataStream
Obtains anInputStream
for this stream. It is expected that each call creates a fresh stream.- Specified by:
getInputStream
in interfaceAttachmentDataStream
- Specified by:
getInputStream
in interfaceorg.springframework.core.io.InputStreamSource
- Throws:
IOException
-
getFile
Deprecated.
-
AttachmentDataStream.create(AttachmentDataStreamType, InputStreamSource)