public enum FileVersion extends Enum<FileVersion> implements MpxjEnum
Enum Constant and Description |
---|
VERSION_1_0 |
VERSION_3_0 |
VERSION_4_0 |
Modifier and Type | Method and Description |
---|---|
static FileVersion |
getInstance(String value)
Retrieve a FileVersion instance representing the supplied value.
|
int |
getValue()
Retrieves the int representation of the file version.
|
String |
toString()
Retrieve the string representation of this file type.
|
static FileVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileVersion VERSION_1_0
public static final FileVersion VERSION_3_0
public static final FileVersion VERSION_4_0
public static FileVersion[] values()
for (FileVersion c : FileVersion.values()) System.out.println(c);
public static FileVersion 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 int getValue()
public static FileVersion getInstance(String value)
value
- file version valuepublic String toString()
toString
in class Enum<FileVersion>
Copyright © 2000–2024 Packwood Software. All rights reserved.