org.jfree.repository.file
Class FileContentLocation
java.lang.Object
org.jfree.repository.file.FileContentEntity
org.jfree.repository.file.FileContentLocation
- All Implemented Interfaces:
- ContentEntity, ContentLocation
public class FileContentLocation
- extends FileContentEntity
- implements ContentLocation
Creation-Date: 13.11.2006, 12:01:11
- Author:
- Thomas Morgner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileContentLocation
public FileContentLocation(ContentLocation parent,
java.io.File backend)
throws ContentIOException
- Throws:
ContentIOException
FileContentLocation
public FileContentLocation(Repository repository,
java.io.File backend)
throws ContentIOException
- Throws:
ContentIOException
listContents
public ContentEntity[] listContents()
throws ContentIOException
- Specified by:
listContents
in interface ContentLocation
- Throws:
ContentIOException
getEntry
public ContentEntity getEntry(java.lang.String name)
throws ContentIOException
- Specified by:
getEntry
in interface ContentLocation
- Throws:
ContentIOException
createItem
public ContentItem createItem(java.lang.String name)
throws ContentCreationException
- Description copied from interface:
ContentLocation
- Creates a new data item in the current location. This method must never
return null.
- Specified by:
createItem
in interface ContentLocation
- Returns:
-
- Throws:
ContentCreationException
- if the item could not be created.
createLocation
public ContentLocation createLocation(java.lang.String name)
throws ContentCreationException
- Specified by:
createLocation
in interface ContentLocation
- Throws:
ContentCreationException
exists
public boolean exists(java.lang.String name)
- Specified by:
exists
in interface ContentLocation