git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@802
f203690c-595d-4dc9-a70b-
905162fa7fd2
private static final String ENTRY_SEPARATOR = "/";
private static final String CONTENTS_ENTRY = "CONTENTS";
+ static {
+ // force a poi class to be loaded to ensure that when this class is
+ // loaded, we know that the poi classes are available
+ NPOIFSFileSystem.class.getName();
+ }
+
public CompoundOleUtil()
{
}
compoundFactory = (CompoundPackageFactory)
Class.forName("com.healthmarketscience.jackcess.impl.CompoundOleUtil")
.newInstance();
- } catch(Exception e) {
+ } catch(Throwable t) {
// must not have poi, will load compound ole data as "other"
}
COMPOUND_FACTORY = compoundFactory;