Package | Description |
---|---|
com.j256.simplemagic.entries |
Internal storing of the entries read from the magic file(s).
|
com.j256.simplemagic.types |
Various types which do the pattern matching.
|
Modifier and Type | Method and Description |
---|---|
Object |
MagicMatcher.isMatch(Object testValue,
Long andValue,
boolean unsignedType,
Object extractedValue,
MagicMatcher.MutableOffset offset,
byte[] bytes)
Matches if the bytes match at a certain offset.
|
Modifier and Type | Method and Description |
---|---|
protected String |
StringType.findOffsetMatch(StringType.TestInfo info,
int startOffset,
MagicMatcher.MutableOffset mutableOffset,
byte[] bytes,
char[] chars,
int maxPos)
Find offset match either in an array of bytes or chars, which ever is not null.
|
Object |
BigEndianString16Type.isMatch(Object testValue,
Long andValue,
boolean unsignedType,
Object extractedValue,
MagicMatcher.MutableOffset mutableOffset,
byte[] bytes) |
Object |
PStringType.isMatch(Object testValue,
Long andValue,
boolean unsignedType,
Object extractedValue,
MagicMatcher.MutableOffset mutableOffset,
byte[] bytes) |
Object |
RegexType.isMatch(Object testValue,
Long andValue,
boolean unsignedType,
Object extractedValue,
MagicMatcher.MutableOffset mutableOffset,
byte[] bytes) |
Object |
SearchType.isMatch(Object testValue,
Long andValue,
boolean unsignedType,
Object extractedValue,
MagicMatcher.MutableOffset mutableOffset,
byte[] bytes) |
Object |
DefaultType.isMatch(Object testValue,
Long andValue,
boolean unsignedType,
Object extractedValue,
MagicMatcher.MutableOffset offset,
byte[] bytes) |
Object |
StringType.isMatch(Object testValue,
Long andValue,
boolean unsignedType,
Object extractedValue,
MagicMatcher.MutableOffset mutableOffset,
byte[] bytes) |
Object |
NumberType.isMatch(Object testValue,
Long andValue,
boolean unsignedType,
Object extractedValue,
MagicMatcher.MutableOffset mutableOffset,
byte[] bytes) |
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.