Package com.j256.simplemagic.types

Various types which do the pattern matching.

See:
          Description

Class Summary
BigEndianString16Type A two-byte unicode (UCS16) string in big-endian byte order.
ByteType A one-byte value.
DefaultType This is intended to be used with the test x (which is always true) and a message that is to be used if there are no other matches.
DoubleType A 64-bit double precision IEEE floating point number in this machine's native byte order.
FloatType A 32-bit single precision IEEE floating point number in this machine's native byte order.
IntegerType A four-byte integer value.
LittleEndianString16Type A two-byte unicode (UCS16) string in little-endian byte order.
LocalDateType A 4-byte value interpreted as a UNIX-style date, but interpreted as local time rather than UTC.
LocalLongDateType An 8-byte value interpreted as a UNIX-style date, but interpreted as local time rather than UTC.
LongType An eight-byte value.
PStringType A Pascal-style string where the first byte is interpreted as the an unsigned length.
RegexType From the magic(5) man page: A regular expression match in extended POSIX regular expression syntax (like egrep).
SearchType From the magic(5) man page: A literal string search starting at the given line offset.
ShortType A two-byte value.
StringType From the magic(5) man page: A string of bytes.
StringType.StringTestInfo Internal holder for test information about strings.
UtcDateType A 4-byte value interpreted as a UNIX date in UTC timezone.
UtcLongDateType A 8-byte value interpreted as a UNIX date in UTC timezone.
 

Package com.j256.simplemagic.types Description

Various types which do the pattern matching.



This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.