Package net.sourceforge.plantuml
Enum Class FileFormat
- All Implemented Interfaces:
Serializable
,Comparable<FileFormat>
,Constable
Format for output files generated by PlantUML.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionchangeName
(String fileName, int cpt) boolean
boolean
equalsMetadata
(String currentMetadata, SFile existingFile) getDefaultStringBounder
(TikzFontDistortion tikzFontDistortion, SvgCharSizeHack charSizeHack) Returns the file format to be used for that format.boolean
isEps()
Check if this file format is Encapsulated PostScript.static FileFormat
Returns the enum constant of this class with the specified name.static FileFormat[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EPS
-
EPS_TEXT
-
ATXT
-
UTXT
-
XMI_STANDARD
-
XMI_STAR
-
XMI_ARGO
-
XMI_SCRIPT
-
SCXML
-
GRAPHML
-
PDF
-
HTML
-
HTML5
-
VDX
-
LATEX
-
LATEX_NO_PREAMBLE
-
BASE64
-
BRAILLE_PNG
-
PREPROC
-
DEBUG
-
PNG
-
RAW
-
SVG
-
-
Field Details
-
gg
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getMimeType
-
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
-
doesSupportMetadata
public boolean doesSupportMetadata() -
equalsMetadata
-