Enum Database.FileFormat

    • Enum Constant Detail

      • V1997

        public static final Database.FileFormat V1997
        A database which was created by MS Access 97
      • GENERIC_JET4

        public static final Database.FileFormat GENERIC_JET4
        A database which was most likely created programmatically (e.g. using windows ADOX)
      • V2000

        public static final Database.FileFormat V2000
        A database which was created by MS Access 2000
      • V2003

        public static final Database.FileFormat V2003
        A database which was created by MS Access 2002/2003
      • V2007

        public static final Database.FileFormat V2007
        A database which was created by MS Access 2007
      • V2010

        public static final Database.FileFormat V2010
        A database which was created by MS Access 2010+
      • V2016

        public static final Database.FileFormat V2016
        A database which was created by MS Access 2016+
      • V2019

        public static final Database.FileFormat V2019
        A database which was created by MS Access 2019+ (Office 365)
      • MSISAM

        public static final Database.FileFormat MSISAM
        A database which was created by MS Money
    • 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.