Class MediumFormat
- Object
-
- CodeList<MediumFormat>
-
- MediumFormat
-
- All Implemented Interfaces:
Serializable,Comparable<MediumFormat>,ControlledVocabulary
@UML(identifier="MD_MediumFormatCode", specification=ISO_19115) public final class MediumFormat extends CodeList<MediumFormat>
Method used to write to the medium.- Since:
- 2.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class CodeList
CodeList.Filter
-
-
Field Summary
Fields Modifier and Type Field Description static MediumFormatCPIOCoPy In / Out (UNIX file format and command).static MediumFormatHIGH_SIERRAHigh Sierra file system.static MediumFormatISO_9660Information processing - volume and file structure of CD-ROM.static MediumFormatISO_9660_APPLE_HFSHierarchical File System (Macintosh).static MediumFormatISO_9660_ROCK_RIDGERock Ridge interchange protocol (UNIX).static MediumFormatTARTap ARchive.static MediumFormatUDFUniversal Disk Format.
-
Method Summary
Modifier and Type Method Description MediumFormat[]family()Returns the list of codes of the same kind than this code list element.static MediumFormatvalueOf(String code)Returns the medium format that matches the given string, or returns a new one if none match it.static MediumFormat[]values()Returns the list ofMediumFormats.
-
-
-
Field Detail
-
CPIO
@UML(identifier="cpio", obligation=CONDITIONAL, specification=ISO_19115) public static final MediumFormat CPIO
CoPy In / Out (UNIX file format and command).
-
TAR
@UML(identifier="tar", obligation=CONDITIONAL, specification=ISO_19115) public static final MediumFormat TAR
Tap ARchive.
-
HIGH_SIERRA
@UML(identifier="highSierra", obligation=CONDITIONAL, specification=ISO_19115) public static final MediumFormat HIGH_SIERRA
High Sierra file system.
-
ISO_9660
@UML(identifier="iso9660", obligation=CONDITIONAL, specification=ISO_19115) public static final MediumFormat ISO_9660
Information 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_RIDGE
Rock Ridge interchange protocol (UNIX).
-
ISO_9660_APPLE_HFS
@UML(identifier="iso9660AppleHFS", obligation=CONDITIONAL, specification=ISO_19115) public static final MediumFormat ISO_9660_APPLE_HFS
Hierarchical File System (Macintosh).
-
UDF
@UML(identifier="udf", obligation=CONDITIONAL, specification=ISO_19115) public static final MediumFormat UDF
Universal Disk Format.- Since:
- 3.1
-
-
Method Detail
-
values
public static MediumFormat[] values()
Returns the list ofMediumFormats.- Returns:
- the list of codes declared in the current JVM.
-
family
public MediumFormat[] family()
Returns the list of codes of the same kind than this code list element. Invoking this method is equivalent to invokingvalues(), except that this method can be invoked on an instance of the parentCodeListclass.- Specified by:
familyin interfaceControlledVocabulary- Specified by:
familyin classCodeList<MediumFormat>- Returns:
- all code values for this code list.
-
valueOf
public static MediumFormat valueOf(String code)
Returns the medium format that matches the given string, or returns a new one if none match it. More specifically, this methods returns the first instance for whichname().equals(code)returnstrue. If no existing instance is found, then a new one is created for the given name.- Parameters:
code- the name of the code to fetch or to create.- Returns:
- a code matching the given name.
-
-