Uses of Interface
com.j256.simplemagic.entries.MagicMatcher

Packages that use MagicMatcher
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. 
 

Uses of MagicMatcher in com.j256.simplemagic.entries
 

Methods in com.j256.simplemagic.entries that return MagicMatcher
static MagicMatcher MagicType.matcherfromString(String typeString)
          Find the associated matcher to the string.
 

Uses of MagicMatcher in com.j256.simplemagic.types
 

Classes in com.j256.simplemagic.types that implement MagicMatcher
 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 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 IntegerType
          A four-byte integer value.
 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.
 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.