hp1res / io-tools

Automatically exported from code.google.com/p/io-tools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Configure format identification with a property file #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Most of the formats are recognized because they start with a string or
there is a string in the middle (this is not true for xml or pkcs7).

For each one of these "easy" formats i have to make a "Detector" class. It
should be nice configure them with a property file instead.

Original issue reported on code.google.com by dvd.s...@gmail.com on 9 Nov 2008 at 11:08

GoogleCodeExporter commented 9 years ago

Original comment by dvd.s...@gmail.com on 9 Nov 2008 at 11:09

GoogleCodeExporter commented 9 years ago
There is a nice but complicated list of magics in linux /usr/share/file/magic. 
You
could have a look at it. 

Original comment by gabriele...@gmail.com on 21 Nov 2008 at 10:35

Attachments:

GoogleCodeExporter commented 9 years ago
Yes the format is very complex, but it's a valuable source of information. I 
started
working on it, maybe if i take some shortcut the work won't last forever. 
Please feel
free to send me some suggestion or better code for reading it.

Original comment by dvd.s...@gmail.com on 26 Nov 2008 at 10:00

GoogleCodeExporter commented 9 years ago

Original comment by dvd.s...@gmail.com on 26 Mar 2009 at 9:56