Package net.sourceforge.plantuml
Enum FileFormat
java.lang.Object
java.lang.Enum<FileFormat>
net.sourceforge.plantuml.FileFormat
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FileFormat>
,java.lang.constant.Constable
Format for output files generated by PlantUML.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionjava.lang.String
changeName
(java.lang.String fileName, int cpt) boolean
boolean
equalsMetadata
(java.lang.String currentMetadata, SFile existingFile) getDefaultStringBounder
(TikzFontDistortion tikzFontDistortion, SvgCharSizeHack charSizeHack) java.lang.String
Returns the file format to be used for that format.java.lang.String
boolean
isEps()
Check if this file format is Encapsulated PostScript.static FileFormat
valueOf
(java.lang.String name) Returns the enum constant of this type with the specified name.static FileFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
PNG
-
SVG
-
EPS
-
EPS_TEXT
-
ATXT
-
UTXT
-
XMI_STANDARD
-
XMI_STAR
-
XMI_ARGO
-
SCXML
-
PDF
-
MJPEG
-
ANIMATED_GIF
-
HTML
-
HTML5
-
VDX
-
LATEX
-
LATEX_NO_PREAMBLE
-
BASE64
-
BRAILLE_PNG
-
PREPROC
-
DEBUG
-
-
Field Details
-
gg
public static final java.awt.Graphics2D gg
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getMimeType
public java.lang.String getMimeType() -
getFileSuffix
public java.lang.String getFileSuffix()Returns the file format to be used for that format.- Returns:
- a string starting by a point.
-
getDefaultStringBounder
-
getDefaultStringBounder
public StringBounder getDefaultStringBounder(TikzFontDistortion tikzFontDistortion, SvgCharSizeHack charSizeHack) -
isEps
public boolean isEps()Check if this file format is Encapsulated PostScript.- Returns:
true
for EPS.
-
changeName
public java.lang.String changeName(java.lang.String fileName, int cpt) -
doesSupportMetadata
public boolean doesSupportMetadata() -
equalsMetadata
-