org.millscript.office.excel.versions
Enum BIFFVersion
java.lang.Object
java.lang.Enum<BIFFVersion>
org.millscript.office.excel.versions.BIFFVersion
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<BIFFVersion>
public enum BIFFVersion
- extends java.lang.Enum<BIFFVersion>
This enumeration represents the set of available BIFF versions. Not all the
versions in this enumeration are supported.
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
BIFF2
public static final BIFFVersion BIFF2
BIFF3
public static final BIFFVersion BIFF3
BIFF4S
public static final BIFFVersion BIFF4S
BIFF4W
public static final BIFFVersion BIFF4W
BIFF5
public static final BIFFVersion BIFF5
BIFF7
public static final BIFFVersion BIFF7
BIFF8
public static final BIFFVersion BIFF8
BIFF8X
public static final BIFFVersion BIFF8X
values
public static final BIFFVersion[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(BIFFVersion c : BIFFVersion.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static BIFFVersion valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
getVersion
public static BIFFVersion getVersion(int identifier,
int version)
checkRecordSize
public void checkRecordSize(byte[] recordData)
Copyright © 2006-2007 Open World Ltd. All Rights Reserved.