Vector Graphics, 2.4

org.freehep.graphicsbase.util.export
Class ExportFileTypeRegistry

java.lang.Object
  extended by org.freehep.graphicsbase.util.export.ExportFileTypeRegistry

public class ExportFileTypeRegistry
extends Object

Author:
Mark Donszelmann

Method Summary
 void add(ExportFileType exportFileType)
          Adds ExportFile.
 List<ExportFileType> get()
          Returns a list of all registered ExportFileTypes in the order in which they are found in jar files on the classpath.
 List<ExportFileType> get(String format)
          Returns a list of all registered ExportFileTypes in the order in which they are found in jar files on the classpath, followed by all the extra registered ExportFileTypes as long as they do not duplicate any ExportFileType in the list.
static ExportFileTypeRegistry getDefaultInstance(ClassLoader loader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefaultInstance

public static ExportFileTypeRegistry getDefaultInstance(ClassLoader loader)

get

public List<ExportFileType> get()
Returns a list of all registered ExportFileTypes in the order in which they are found in jar files on the classpath.


get

public List<ExportFileType> get(String format)
Returns a list of all registered ExportFileTypes in the order in which they are found in jar files on the classpath, followed by all the extra registered ExportFileTypes as long as they do not duplicate any ExportFileType in the list. The list is for a particular format, or all if format is null.


add

public void add(ExportFileType exportFileType)
Adds ExportFile.

Parameters:
exportFileType -

Vector Graphics, 2.4

Copyright © 2014. All rights reserved.