1234567891011121314151617181920 |
- #------------------------------------------------------------
- # $File: java,v 1.15 2013/08/14 09:10:36 christos Exp $
- # Java ByteCode and Mach-O binaries (e.g., Mac OS X) use the
- # same magic number, 0xcafebabe, so they are both handled
- # in the entry called "cafebabe".
- #------------------------------------------------------------
- # Java serialization
- # From Martin Pool (m.pool@pharos.com.au)
- 0 beshort 0xaced Java serialization data
- >2 beshort >0x0004 \b, version %d
- 0 belong 0xfeedfeed Java KeyStore
- !:mime application/x-java-keystore
- 0 belong 0xcececece Java JCE KeyStore
- !:mime application/x-java-jce-keystore
- # Java source
- 0 regex ^import.*;$ Java source
- !:mime text/x-java
|