java 691 B

1234567891011121314151617181920
  1. #------------------------------------------------------------
  2. # $File: java,v 1.16 2013/09/24 20:22:03 christos Exp $
  3. # Java ByteCode and Mach-O binaries (e.g., Mac OS X) use the
  4. # same magic number, 0xcafebabe, so they are both handled
  5. # in the entry called "cafebabe".
  6. #------------------------------------------------------------
  7. # Java serialization
  8. # From Martin Pool (m.pool@pharos.com.au)
  9. 0 beshort 0xaced Java serialization data
  10. >2 beshort >0x0004 \b, version %d
  11. 0 belong 0xfeedfeed Java KeyStore
  12. !:mime application/x-java-keystore
  13. 0 belong 0xcececece Java JCE KeyStore
  14. !:mime application/x-java-jce-keystore
  15. # Java source
  16. 0 regex ^import.*;$ Java source
  17. !:mime text/x-java