public enum FileFormat extends Enum<FileFormat>
Enum Constant and Description |
---|
ANIMATED_GIF |
ATXT |
BASE64 |
EPS |
EPS_TEXT |
HTML |
HTML5 |
LATEX |
MJPEG |
PDF |
PNG |
SVG |
UTXT |
VDX |
XMI_ARGO |
XMI_STANDARD |
XMI_STAR |
Modifier and Type | Method and Description |
---|---|
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.
|
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 ANIMATED_GIF
public static final FileFormat HTML
public static final FileFormat HTML5
public static final FileFormat VDX
public static final FileFormat LATEX
public static final FileFormat BASE64
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 nameNullPointerException
- if the argument is nullpublic String getFileSuffix()
public boolean isEps()
true
for EPS.Copyright © 2015. All Rights Reserved.