File: hdfview.sharedmimeinfo

package info (click to toggle)
jhdf 2.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 10,312 kB
  • ctags: 6,966
  • sloc: java: 51,714; ansic: 17,051; sh: 1,963; makefile: 938
file content (20 lines) | stat: -rw-r--r-- 836 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
  <!-- well, we could have hdf4 and hdf5 as different mime types... -->
  <mime-type type="application/x-hdf">
    <comment>Hierarchical Data Format</comment>
    <magic>
        <!--see: HDF5 File Format Specification Version 2.0 Chapter II -->
        <match type="string" offset="0" value="\211HDF\r\n\032\n"/>
        <!--see: HDF4r15_SpecDG.pdf Chapter 2.2: 0x0E 0x03 0x13 0x01 -->
        <match type="string" offset="0" value="\016\003\023\001"/>
    </magic>
    <glob pattern="*.hdf" />
    <glob pattern="*.hdf4" />
    <glob pattern="*.h4" />
    <glob pattern="*.hdf5" />
    <glob pattern="*.h5" />
    <icon name="application-x-hdf"/>
    <generic-icon name="application-x-hdf"/> 
  </mime-type>
</mime-info>