|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FileFormat>
net.sourceforge.plantuml.FileFormat
public enum FileFormat
Format for output files generated by PlantUML.
Enum Constant Summary | |
---|---|
ATXT
|
|
EPS
|
|
EPS_TEXT
|
|
HTML
|
|
HTML5
|
|
MJPEG
|
|
PDF
|
|
PNG
|
|
SVG
|
|
UTXT
|
|
VDX
|
|
XMI_ARGO
|
|
XMI_STANDARD
|
|
XMI_STAR
|
Method Summary | |
---|---|
String |
changeName(String fileName,
int cpt)
|
File |
computeFilename(File pngFile,
int i)
|
String |
computeFilename(String name,
int i)
|
String |
getFileSuffix()
Returns the file format to be used for that format. |
boolean |
isEps()
Check if this file format is Encapsulated PostScript. |
static FileFormat |
valueOf(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, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FileFormat PNG
public static final FileFormat SVG
public static final FileFormat EPS
public static final FileFormat EPS_TEXT
public static final FileFormat ATXT
public static final FileFormat UTXT
public static final FileFormat XMI_STANDARD
public static final FileFormat XMI_STAR
public static final FileFormat XMI_ARGO
public static final FileFormat PDF
public static final FileFormat MJPEG
public static final FileFormat HTML
public static final FileFormat HTML5
public static final FileFormat VDX
Method Detail |
---|
public static FileFormat[] values()
for (FileFormat c : FileFormat.values()) System.out.println(c);
public static FileFormat valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getFileSuffix()
public boolean isEps()
true
for EPS.public String changeName(String fileName, int cpt)
public File computeFilename(File pngFile, int i)
public String computeFilename(String name, int i)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |