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
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class CodeList
CodeList.FilterModifier and TypeClassDescriptionstatic interfaceUsed byCodeList.valueOf(Class, Filter)to select codes matching an arbitrary criterion. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MediumFormatCoPy In / Out (UNIX file format and command).static final MediumFormatHigh sierra file system.static final MediumFormatInformation processing - volume and file structure of CD-ROM.static final MediumFormatHierarchical file system (Macintosh).static final MediumFormatRock ridge interchange protocol (UNIX).static final MediumFormatTap ARchive. -
Method Summary
Modifier and TypeMethodDescriptionfamily()Returns the list of enumerations of the same kind as this enum.static MediumFormatReturns the medium format that matches the given string, or returns a new one if none match it.static MediumFormat[]values()Returns the list ofMediumFormats.Methods inherited from class CodeList
compareTo, identifier, name, names, ordinal, readResolve, toString, valueOf, valueOfModifier and TypeMethodDescriptionfinal intcompareTo(MediumFormat other) Compares this code with the specified object for order.Returns the identifier declared in theUMLannotation, ornullif none.final Stringname()Returns the programmatic name of this code list constant.String[]names()Returns all the names of this code.final intordinal()Returns the ordinal of this code constant.protected ObjectResolves the code list to an unique instance after deserialization.Returns a string representation of this code list.static <T extends CodeList<T>>
TReturns the code of the given type that matches the given name, or returns a new one if none match it.static <T extends CodeList<T>>
TvalueOf(Class<T> codeType, CodeList.Filter filter) Returns the code of the given type that matches the given criterion, or returns a new one if none match it.
-
Field Details
-
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).
-
-
Method Details
-
values
Returns the list ofMediumFormats.- Returns:
- The list of codes declared in the current JVM.
-
family
Returns the list of enumerations of the same kind as this enum.- Specified by:
familyin classCodeList<MediumFormat>- Returns:
- The codes of the same kind as 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.
-