org.jfree.repository
Interface ContentItem
- All Superinterfaces:
- ContentEntity
- All Known Implementing Classes:
- DummyContentItem, FileContentItem, StreamContentItem, ZipContentItem
public interface ContentItem
- extends ContentEntity
A content item holds the actual content. On a file system, this would be a
file. Whether reading and writing the same content item at the same time is
allowed is implementation specific.
- Author:
- Thomas Morgner
getMimeType
java.lang.String getMimeType()
throws ContentIOException
- Throws:
ContentIOException
getOutputStream
java.io.OutputStream getOutputStream()
throws ContentIOException,
java.io.IOException
- Throws:
ContentIOException
java.io.IOException
getInputStream
java.io.InputStream getInputStream()
throws ContentIOException,
java.io.IOException
- Throws:
ContentIOException
java.io.IOException
isReadable
boolean isReadable()
isWriteable
boolean isWriteable()