org.jfree.repository

Interface ContentItem

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

Method Summary
InputStreamgetInputStream()
StringgetMimeType()
OutputStreamgetOutputStream()
booleanisReadable()
booleanisWriteable()

Method Detail

getInputStream

public InputStream getInputStream()

getMimeType

public String getMimeType()

getOutputStream

public OutputStream getOutputStream()

isReadable

public boolean isReadable()

isWriteable

public boolean isWriteable()