Package org.daisy.paper
Class PaperCatalog
- java.lang.Object
-
- org.daisy.paper.PaperCatalog
-
- All Implemented Interfaces:
FactoryCatalog<Paper>
,Provider<Paper>
public abstract class PaperCatalog extends java.lang.Object implements FactoryCatalog<Paper>
Provides a catalog of Paper factories.- Author:
- Joel HÃ¥kansson
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PaperCatalog()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PaperCatalog
newInstance()
Obtains a new PaperCatalog instance.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.daisy.factory.FactoryCatalog
get, getFeature, list, setFeature
-
-
-
-
Method Detail
-
newInstance
public static PaperCatalog newInstance()
Obtains a new PaperCatalog instance. If at least one implementation can be found using the Services API, then the first one will be returned. Otherwise the default PaperCatalog will be used. The default PaperCatalog will use the Services API to find PaperProviders. The combined result from all PaperProviders are available to the catalog.- Returns:
- returns a new PaperCatalog instance.
-
-