org.xcmis.spi
Interface ContentStream

All Known Implementing Classes:
BaseContentStream, RenditionContentStream

public interface ContentStream

Version:
$Id: ContentStream.java 316 2010-03-09 15:20:28Z andrew00x $
Author:
Andrey Parfonov

Method Summary
 String getFileName()
           
 MimeType getMediaType()
           
 InputStream getStream()
           
 long length()
           
 

Method Detail

getFileName

String getFileName()
Returns:
content stream file name

getMediaType

MimeType getMediaType()
Returns:
content stream media type

getStream

InputStream getStream()
                      throws IOException
Returns:
byte stream
Throws:
IOException - if i/o error occurs

length

long length()
Returns:
content stream length


Copyright © 2010 eXo Platform SAS. All Rights Reserved.