com.healthmarketscience.jackcess
Enum Database.FileFormat

java.lang.Object
  extended by java.lang.Enum<Database.FileFormat>
      extended by 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:
General: This class is general use.

Enum Constant Summary
MSISAM
           
V1997
           
V2000
           
V2003
           
V2007
           
V2010
           
 
Method Summary
 String getFileExtension()
           
 String toString()
           
static Database.FileFormat valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Database.FileFormat[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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-2015 Health Market Science. All Rights Reserved.