|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttemplates.io.PNGExporter
public class PNGExporter
Exporter of TemplateDiagrams to the PNG format.
| Field Summary | |
|---|---|
protected static int |
BORDER_SIZE
The number of pixels to use as a frame around the output image. |
protected static java.lang.String |
description
The description of the exporter which will appear in the dialog box where the user selects the export filter. |
protected static java.lang.String |
ext
The file extension of the output file format. |
| Constructor Summary | |
|---|---|
PNGExporter()
|
|
| Method Summary | |
|---|---|
void |
exportFile(java.io.File src,
java.io.File dst)
|
java.lang.String |
getFileDescription()
|
java.lang.String |
getFileExtension()
|
void |
importFile(java.io.File src,
java.io.File dst)
Do nothing as import is not supported. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String description
protected static final java.lang.String ext
protected static final int BORDER_SIZE
| Constructor Detail |
|---|
public PNGExporter()
| Method Detail |
|---|
public void exportFile(java.io.File src,
java.io.File dst)
throws ides.api.plugin.io.FormatTranslationException
exportFile in interface ides.api.plugin.io.ImportExportPluginides.api.plugin.io.FormatTranslationException
public void importFile(java.io.File src,
java.io.File dst)
importFile in interface ides.api.plugin.io.ImportExportPluginpublic java.lang.String getFileDescription()
getFileDescription in interface ides.api.plugin.io.ImportExportPluginpublic java.lang.String getFileExtension()
getFileExtension in interface ides.api.plugin.io.ImportExportPlugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||