Class MediumFormat
- All Implemented Interfaces:
Serializable
,Comparable<MediumFormat>
@UML(identifier="MD_MediumFormatCode",
specification=ISO_19115)
public final class MediumFormat
extends CodeList<MediumFormat>
Method used to write to the medium.
- Since:
- 2.0
- Version:
- 3.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MediumFormat
CoPy In / Out (UNIX file format and command).static final MediumFormat
High sierra file system.static final MediumFormat
Information processing - volume and file structure of CD-ROM.static final MediumFormat
Hierarchical file system (Macintosh).static final MediumFormat
Rock ridge interchange protocol (UNIX).private static final long
Serial number for compatibility with different versions.static final MediumFormat
Tap ARchive.private static final List
<MediumFormat> List of all enumerations of this type. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
MediumFormat
(String name) Constructs an enum with the given name. -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Returns the list of enumerations of the same kind than this enum.static MediumFormat
Returns the medium format that matches the given string, or returns a new one if none match it.static MediumFormat[]
values()
Returns the list ofMediumFormat
s.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial number for compatibility with different versions.- See Also:
-
VALUES
List of all enumerations of this type. Must be declared before any enum declaration. -
CPIO
@UML(identifier="cpio", obligation=CONDITIONAL, specification=ISO_19115) public static final MediumFormat CPIOCoPy In / Out (UNIX file format and command). -
TAR
@UML(identifier="tar", obligation=CONDITIONAL, specification=ISO_19115) public static final MediumFormat TARTap ARchive. -
HIGH_SIERRA
@UML(identifier="highSierra", obligation=CONDITIONAL, specification=ISO_19115) public static final MediumFormat HIGH_SIERRAHigh sierra file system. -
ISO_9660
@UML(identifier="iso9660", obligation=CONDITIONAL, specification=ISO_19115) public static final MediumFormat ISO_9660Information processing - volume and file structure of CD-ROM. -
ISO_9660_ROCK_RIDGE
@UML(identifier="iso9660RockRidge", obligation=CONDITIONAL, specification=ISO_19115) public static final MediumFormat ISO_9660_ROCK_RIDGERock ridge interchange protocol (UNIX). -
ISO_9660_APPLE_HFS
@UML(identifier="iso9660AppleHFS", obligation=CONDITIONAL, specification=ISO_19115) public static final MediumFormat ISO_9660_APPLE_HFSHierarchical file system (Macintosh).
-
-
Constructor Details
-
MediumFormat
Constructs an enum with the given name. The new enum is automatically added to the list returned byvalues()
.- Parameters:
name
- The enum name. This name must not be in use by an other enum of this type.
-
-
Method Details
-
values
Returns the list ofMediumFormat
s.- Returns:
- The list of codes declared in the current JVM.
-
family
Returns the list of enumerations of the same kind than this enum.- Specified by:
family
in classCodeList<MediumFormat>
- Returns:
- The codes of the same kind than this code.
-
valueOf
Returns the medium format that matches the given string, or returns a new one if none match it.- Parameters:
code
- The name of the code to fetch or to create.- Returns:
- A code matching the given name.
-