org.semanticdesktop.aperture.mime.identifier.magic
Class MagicNumber
java.lang.Object
org.semanticdesktop.aperture.mime.identifier.magic.MagicNumber
public class MagicNumber
- extends Object
Constructor Summary |
MagicNumber(byte[] magicBytes,
int offset)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MagicNumber
public MagicNumber(byte[] magicBytes,
int offset)
getMagicBytes
public byte[] getMagicBytes()
getOffset
public int getOffset()
getMinimumLength
public int getMinimumLength()
matches
public boolean matches(byte[] bytes,
int skippedLeadingBytes)
Copyright © 2010 Aperture Development Team. All Rights Reserved.