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.
<br />
Example:
File f = new File("/path/to/mymagic.xml");<br/>
Magic.initialize(file);
In order to reinitialize JMimeMagic, an mechanism as follows comes to my
mind:<br/>
Magic.reset();<br/>
Magic.initialize(file);
Nobody/Anonymous ( nobody ) - 2007-04-02 18:56
5
Open
None
Nobody/Anonymous
Interface Improvements (example)
None
Public