Package | Description |
---|---|
com.j256.simplemagic.types |
Various types which do the pattern matching.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseLongType
Base class for those types which use long types to compare.
|
class |
ByteType
A one-byte value.
|
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 |
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 |
ShortType
A two-byte value.
|
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.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
TestOperator.doTest(boolean unsignedType,
Number extractedValue,
Number testValue,
NumberType numberType)
Perform the test using the operator.
|
Constructor and Description |
---|
NumberComparison(NumberType numberType,
String testStr)
Pre-process the test string into an operator and a value.
|
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.