|
barcode4j 2.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.krysalis.barcode4j.tools.MimeTypes
public class MimeTypes
Defines MIME types used in Barcode4J.
Field Summary | |
---|---|
static java.lang.String |
MIME_BMP
BMP MIME type: image/bmp |
static java.lang.String |
MIME_EPS
EPS MIME type: image/x-eps |
static java.lang.String |
MIME_GIF
GIF MIME type: image/gif |
static java.lang.String |
MIME_JPEG
JPEG MIME type: image/jpeg |
static java.lang.String |
MIME_PNG
PNG MIME type: image/x-png |
static java.lang.String |
MIME_SVG
SVG MIME type: image/svg+xml |
static java.lang.String |
MIME_TIFF
TIFF MIME type: image/tiff |
Constructor Summary | |
---|---|
protected |
MimeTypes()
Utility class: Constructor prevents instantiating when subclassed. |
Method Summary | |
---|---|
static java.lang.String |
expandFormat(java.lang.String format)
Converts a short format name, such as "svg" or "eps", to its MIME type, if necessary. |
static boolean |
isBitmapFormat(java.lang.String format)
Indicates whether a format is a bitmap format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MIME_SVG
public static final java.lang.String MIME_EPS
public static final java.lang.String MIME_TIFF
public static final java.lang.String MIME_JPEG
public static final java.lang.String MIME_PNG
public static final java.lang.String MIME_GIF
public static final java.lang.String MIME_BMP
Constructor Detail |
---|
protected MimeTypes()
Method Detail |
---|
public static java.lang.String expandFormat(java.lang.String format)
format
- short format name or MIME type
public static boolean isBitmapFormat(java.lang.String format)
format
- short format name or MIME type
|
barcode4j 2.1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |