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 |
---|---|
static MagicMatcher |
MagicType.matcherfromString(String typeString)
Find the associated matcher to the string.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseLongType
Base class for those types which use long types to compare.
|
class |
BigEndianString16Type
A two-byte unicode (UCS16) string in big-endian byte order.
|
class |
ByteType
A one-byte value.
|
class |
DefaultType
This is intended to be used with the test @code{x} (which is always true) and a message that is to be used if there
are no other matches.
|
class |
DoubleType
A 64-bit double precision IEEE floating point number in this machine's native byte order.
|
class |
FloatType
A 32-bit single precision IEEE floating point number in this machine's native byte order.
|
class |
Id3LengthType
A four-byte integer value where the high bit of each byte is ignored.
|
class |
IntegerType
A four-byte integer value which often handles the "long" types when the spec was written.
|
class |
LittleEndianString16Type
A two-byte unicode (UCS16) string in little-endian byte order.
|
class |
LocalDateType
A 4-byte value interpreted as a UNIX-style date, but interpreted as local time rather than UTC.
|
class |
LocalLongDateType
An 8-byte value interpreted as a UNIX-style date, but interpreted as local time rather than UTC.
|
class |
LongType
An eight-byte value constituted "quad" when the magic file spec was written.
|
class |
NumberType
Base class for our numbers so we can do generic operations on them.
|
class |
PStringType
A Pascal-style string where the first byte is interpreted as the an unsigned length.
|
class |
RegexType
From the magic(5) man page: A regular expression match in extended POSIX regular expression syntax (like egrep).
|
class |
SearchType
From the magic(5) man page: A literal string search starting at the given line offset.
|
class |
ShortType
A two-byte value.
|
class |
StringType
From the magic(5) man page: A string of bytes.
|
class |
UtcDateType
A 4-byte value interpreted as a UNIX date in UTC timezone.
|
class |
UtcLongDateType
A 8-byte value interpreted as a UNIX date in UTC timezone.
|
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.