org.freehep.graphicsio.emf
Class EMFConverter
java.lang.Object
org.freehep.graphicsio.emf.EMFConverter
- Direct Known Subclasses:
- EMF2SVG
public class EMFConverter
- extends Object
This class converts an EMF image to all available
grafik formats, e.g. PDF, or PNG
- Version:
- $Id$
- Author:
- Steffen Greiffenberg
Method Summary |
protected static void |
export(String type,
String srcFileName,
String destFileName)
Looks for an (FreeHEP-) ExportFileType in class path
to create the selected output format for destFileName. |
static void |
main(String[] args)
starts the conversion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMFConverter
public EMFConverter()
export
protected static void export(String type,
String srcFileName,
String destFileName)
- Looks for an (FreeHEP-) ExportFileType in class path
to create the selected output format for destFileName.
- Parameters:
type
- extension / file format to writesrcFileName
- emf file to readdestFileName
- file to create, if null srcFileName
is used with the extension type
main
public static void main(String[] args)
- starts the conversion
- Parameters:
args
- args[0] source file, args[1] destination
file with target format in extension
Copyright © 2012. All Rights Reserved.