org.jfree.repository.dummy

Class DummyContentItem

public class DummyContentItem extends Object implements ContentItem

Creation-Date: 13.11.2006, 17:16:02

Author: Thomas Morgner

Constructor Summary
DummyContentItem(ContentLocation parent, String name)
Method Summary
booleandelete()
ObjectgetAttribute(String domain, String key)
ObjectgetContentId()
InputStreamgetInputStream()
StringgetMimeType()
StringgetName()
OutputStreamgetOutputStream()
ContentLocationgetParent()
RepositorygetRepository()
booleanisReadable()
booleanisWriteable()
booleansetAttribute(String domain, String key, Object value)

Constructor Detail

DummyContentItem

public DummyContentItem(ContentLocation parent, String name)

Method Detail

delete

public boolean delete()

getAttribute

public Object getAttribute(String domain, String key)

getContentId

public Object getContentId()

getInputStream

public InputStream getInputStream()

getMimeType

public String getMimeType()

getName

public String getName()

getOutputStream

public OutputStream getOutputStream()

getParent

public ContentLocation getParent()

getRepository

public Repository getRepository()

isReadable

public boolean isReadable()

isWriteable

public boolean isWriteable()

setAttribute

public boolean setAttribute(String domain, String key, Object value)