com.healthmarketscience.jackcess
Enum Database.FileFormat
java.lang.Object
java.lang.Enum<Database.FileFormat>
com.healthmarketscience.jackcess.Database.FileFormat
- All Implemented Interfaces:
- Serializable, Comparable<Database.FileFormat>
- Enclosing interface:
- Database
public static enum Database.FileFormat
- extends Enum<Database.FileFormat>
Enum which indicates which version of Access created the database.
- Usage:
- : This class is general use.
V1997
public static final Database.FileFormat V1997
V2000
public static final Database.FileFormat V2000
V2003
public static final Database.FileFormat V2003
V2007
public static final Database.FileFormat V2007
V2010
public static final Database.FileFormat V2010
MSISAM
public static final Database.FileFormat MSISAM
values
public static Database.FileFormat[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Database.FileFormat c : Database.FileFormat.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Database.FileFormat valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getFileExtension
public String getFileExtension()
- Returns:
- the file extension used for database files with this format.
toString
public String toString()
- Overrides:
toString in class Enum<Database.FileFormat>
Copyright © 2005-2013 Health Market Science. All Rights Reserved.