Package org.daisy.dotify.api.writer
Interface PagedMediaWriterFactory
-
public interface PagedMediaWriterFactory
Provides a PagedMediaWriter factory interface. This interface is used to retrieve a PagedMediaWriter instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getFeature(String key)
Gets the value of a PagedMediaWriter feature.PagedMediaWriter
newPagedMediaWriter()
Returns a new PagedMediaWritervoid
setFeature(String key, Object value)
Sets the value of a PagedMediaWriter feature.
-
-
-
Method Detail
-
newPagedMediaWriter
PagedMediaWriter newPagedMediaWriter() throws PagedMediaWriterConfigurationException
Returns a new PagedMediaWriter- Returns:
- returns a new PagedMediaWriter
- Throws:
PagedMediaWriterConfigurationException
- if the media type is not supported
-
getFeature
Object getFeature(String key)
Gets the value of a PagedMediaWriter feature.- Parameters:
key
- the feature to get the value for- Returns:
- returns the value, or null if not set
-
setFeature
void setFeature(String key, Object value) throws PagedMediaWriterConfigurationException
Sets the value of a PagedMediaWriter feature.- Parameters:
key
- the feature to set the value forvalue
- the value for the feature- Throws:
PagedMediaWriterConfigurationException
- if the feature is not supported
-
-