V1997(null, JetFormat.VERSION_3),
V2000("com/healthmarketscience/jackcess/empty.mdb", JetFormat.VERSION_4),
V2003("com/healthmarketscience/jackcess/empty2003.mdb", JetFormat.VERSION_4),
- V2007("com/healthmarketscience/jackcess/empty2007.accdb", JetFormat.VERSION_5, ".accdb");
+ V2007("com/healthmarketscience/jackcess/empty2007.accdb", JetFormat.VERSION_5, ".accdb"),
+ MSISAM(null, JetFormat.VERSION_MSISAM, ".mny");
private final String _emptyFile;
private final JetFormat _format;
private static final Map<Database.FileFormat,byte[]> POSSIBLE_VERSION_5 =
Collections.singletonMap(Database.FileFormat.V2007, (byte[])null);
+ private static final Map<Database.FileFormat,byte[]> POSSIBLE_VERSION_MSISAM =
+ Collections.singletonMap(Database.FileFormat.MSISAM, (byte[])null);
+
static {
POSSIBLE_VERSION_4.put(Database.FileFormat.V2000, ACCESS_VERSION_2000);
POSSIBLE_VERSION_4.put(Database.FileFormat.V2003, ACCESS_VERSION_2003);
protected CodecType defineCodecType() {
return CodecType.MSISAM;
}
+
+ @Override
+ protected Map<Database.FileFormat,byte[]> getPossibleFileFormats()
+ {
+ return PossibleFileFormats.POSSIBLE_VERSION_MSISAM;
+ }
}
private static final class Jet5Format extends Jet4Format {