You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Obviously. A deficiency that has long existed and just hasn't been remedied.
From sf.net...
I'd like to be able to configure the magic XML file so that I could use an external file and not the resource file that is directly bundled with the jmimemagic.jar. So it is possible to modify the XML at runtime and reinitialize JMimeMagic with the new file.
Example:
File f = new File("/path/to/mymagic.xml");
Magic.initialize(file);
In order to reinitialize JMimeMagic, an mechanism as follows comes to my mind:
Magic.reset();
Magic.initialize(file);
The text was updated successfully, but these errors were encountered:
Obviously. A deficiency that has long existed and just hasn't been remedied.
From sf.net...
I'd like to be able to configure the magic XML file so that I could use an external file and not the resource file that is directly bundled with the jmimemagic.jar. So it is possible to modify the XML at runtime and reinitialize JMimeMagic with the new file.
Example:
File f = new File("/path/to/mymagic.xml");
Magic.initialize(file);
In order to reinitialize JMimeMagic, an mechanism as follows comes to my mind:
Magic.reset();
Magic.initialize(file);
The text was updated successfully, but these errors were encountered: