|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.pages.persistence.dao.AttachmentDataStream.FileWrapper
public static class AttachmentDataStream.FileWrapper
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 |
Constructor Summary | |
---|---|
AttachmentDataStream.FileWrapper(AttachmentDataStreamType dataStreamType,
java.io.File file)
|
Method Summary | |
---|---|
java.io.InputStream |
getInputStream()
Obtains an InputStream for this stream. |
AttachmentDataStreamType |
getType()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttachmentDataStream.FileWrapper(AttachmentDataStreamType dataStreamType, java.io.File file)
Method Detail |
---|
public AttachmentDataStreamType getType()
getType
in interface AttachmentDataStream
AttachmentDataStreamType
associated with this stream.public java.io.InputStream getInputStream() throws java.io.IOException
AttachmentDataStream
InputStream
for this stream. It is expected that each call creates a fresh stream.
getInputStream
in interface AttachmentDataStream
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |