|
xmlgraphics-commons 2.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xmlgraphics.image.writer.ImageWriterRegistry
public final class ImageWriterRegistry
Registry for ImageWriter implementations.
| Constructor Summary | |
|---|---|
ImageWriterRegistry()
Default constructor. |
|
ImageWriterRegistry(java.util.Properties preferredOrder)
Special constructor. |
|
| Method Summary | |
|---|---|
static ImageWriterRegistry |
getInstance()
|
ImageWriter |
getWriterFor(java.lang.String mime)
Returns an ImageWriter that can be used to encode an image to the requested MIME type. |
void |
register(ImageWriter writer)
Registers a new ImageWriter implementation in the registry. |
void |
register(ImageWriter writer,
int priority)
Registers a new ImageWriter implementation with the associated priority in the registry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageWriterRegistry()
public ImageWriterRegistry(java.util.Properties preferredOrder)
preferredOrder - the map of order properties used to order the plug-ins| Method Detail |
|---|
public static ImageWriterRegistry getInstance()
public void register(ImageWriter writer,
int priority)
writer - the ImageWriter instance to register.priority - the priority of the writer in the registry.register(ImageWriter)public void register(ImageWriter writer)
writer - the ImageWriter instance to register.public ImageWriter getWriterFor(java.lang.String mime)
mime - the MIME type of the desired output format
|
xmlgraphics-commons 2.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||