org.jfree.repository.file
Class FileContentItem
java.lang.Object
org.jfree.repository.file.FileContentEntity
org.jfree.repository.file.FileContentItem
- All Implemented Interfaces:
- ContentEntity, ContentItem
public class FileContentItem
- extends FileContentEntity
- implements ContentItem
Creation-Date: 13.11.2006, 12:17:21
- Author:
- Thomas Morgner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileContentItem
public FileContentItem(ContentLocation parent,
java.io.File backend)
getMimeType
public java.lang.String getMimeType()
throws ContentIOException
- Specified by:
getMimeType
in interface ContentItem
- Throws:
ContentIOException
getOutputStream
public java.io.OutputStream getOutputStream()
throws ContentIOException,
java.io.IOException
- Specified by:
getOutputStream
in interface ContentItem
- Throws:
ContentIOException
java.io.IOException
getInputStream
public java.io.InputStream getInputStream()
throws ContentIOException,
java.io.IOException
- Specified by:
getInputStream
in interface ContentItem
- Throws:
ContentIOException
java.io.IOException
isReadable
public boolean isReadable()
- Specified by:
isReadable
in interface ContentItem
isWriteable
public boolean isWriteable()
- Specified by:
isWriteable
in interface ContentItem