public static enum ResourceLoader.Type extends Enum<ResourceLoader.Type> implements Comparable<ResourceLoader.Type>
Enum Constant and Description |
---|
BarCode
The resource type "bar code" (BCOCA), represented by resources starting with a 'Begin Bar
Code Object' (BBC) field.
|
CharacterSet
The resource type "character set", represented by resources starting with a 'Begin Font
Character Set' (BFN) field.
|
CodedFont
The resource type "coded font", represented by resources starting with a 'Begin Coded Font'
(BCF) field.
|
CodePage
The resource type "code page", represented by resources starting with a 'Begin Code Page'
(BCP) field.
|
DataMap
The resource type "data map", represented by resources starting with a 'Begin Data Map' (BDM)
field.
|
Document
The resource type "document", represented by resources starting with a 'Begin Document' (BDT)
field.
|
FormMap
The resource type "form map", represented by resources starting with a 'Begin Form Map' (BFM)
field.
|
Graphics
The resource type "graphics" (GOCA), represented by resources starting with a 'Graphics Data'
(GAD) field.
|
Image
The resource type "image" (IOCA), represented by resources starting with a 'Begin Image
Object' (BIM) field.
|
Object
Resource type "object", represented by resources containing non modca data (e.g.
|
ObjectContainer
The resource type "object container", represented by resources starting with a 'Begin Object
Container' (BOC) field.
|
Overlay
The resource type "overlay", represented by resources starting with a 'Begin Overlay' (BMO)
field.
|
PageSegment
The resource type "page segment", represented by resources starting with a 'Begin Page
Segment' (BPS) field.
|
ResourceGroup
The resource type "Resource Group", represented by resources starting with a 'Begin Resource
Group' (BRG) field.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getAdditionalExtensions()
Return a list of additional extensions to try when loading resources of this type.
|
String |
getDefaultExtension()
Return the defaultExtension used for file-system representation of a resource of this type.
|
String |
getDescription()
Returns resource description.
|
int |
getRelatedMODCAFieldCode()
Return the MO:DCA structured field code of the field starting a resource of this type.
|
int |
getResourceTypeCode()
Returns corresponding resource type code (0x00 = unknown).
|
static ResourceLoader.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceLoader.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
compareTo
public static final ResourceLoader.Type Graphics
public static final ResourceLoader.Type BarCode
public static final ResourceLoader.Type Image
public static final ResourceLoader.Type Document
public static final ResourceLoader.Type PageSegment
public static final ResourceLoader.Type Overlay
public static final ResourceLoader.Type FormMap
public static final ResourceLoader.Type CharacterSet
public static final ResourceLoader.Type CodePage
public static final ResourceLoader.Type CodedFont
public static final ResourceLoader.Type ObjectContainer
public static final ResourceLoader.Type Object
public static final ResourceLoader.Type DataMap
public static final ResourceLoader.Type ResourceGroup
public static ResourceLoader.Type[] values()
for (ResourceLoader.Type c : ResourceLoader.Type.values()) System.out.println(c);
public static ResourceLoader.Type 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 getDefaultExtension()
public int getRelatedMODCAFieldCode()
public List<String> getAdditionalExtensions()
public int getResourceTypeCode()
public String getDescription()
Copyright © 2024 levigo holding gmbh. All rights reserved.