org.jfree.repository
Interface ContentLocation
- All Superinterfaces:
- ContentEntity
- All Known Implementing Classes:
- DummyContentLocation, FileContentLocation, StreamContentLocation, ZipContentLocation
public interface ContentLocation
- extends ContentEntity
This represents a container in the repository. If the repository is a
filesystem, this will be a directory.
- Author:
- Thomas Morgner
listContents
ContentEntity[] listContents()
throws ContentIOException
- Throws:
ContentIOException
getEntry
ContentEntity getEntry(java.lang.String name)
throws ContentIOException
- Throws:
ContentIOException
createItem
ContentItem createItem(java.lang.String name)
throws ContentCreationException
- Creates a new data item in the current location. This method must never
return null.
- Parameters:
name
-
- Returns:
-
- Throws:
ContentCreationException
- if the item could not be created.
createLocation
ContentLocation createLocation(java.lang.String name)
throws ContentCreationException
- Throws:
ContentCreationException
exists
boolean exists(java.lang.String name)