Share

Java Mime Magic Library

Tracker: Feature Requests

5 magic XML file configurable - ID: 1693155
Last Update: Tracker Item Submitted ( nobody )

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


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.