Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright 2012-04-26 Werner Randelshofer
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.monte.media.binary
Class StructParser.MagicDeclaration

    java.lang.Object
      org.monte.media.binary.StructParser.MagicDeclaration

Enclosing class:
  StructParser

    protected static class StructParser.MagicDeclaration

extends java.lang.Object

MagicDeclaration expression.

     MagicDeclaration ::= "magic" identifier ("ushort" hexLiteral[".." hexLiteral] | stringLiteral) ";"

Field Summary
`java.lang.String` | `identifier`
`java.lang.String` | `magic` If magic is null, then ushortMagicFrom/ushortMagicTo is used.
`int` | `ushortMagicFrom`
`int` | `ushortMagicTo`

Constructor Summary
`StructParser.MagicDeclaration(StreamPosTokenizer scanner)`

Method Summary

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### identifier

    public java.lang.String identifier

### magic

    public java.lang.String magic

  If magic is null, then ushortMagicFrom/ushortMagicTo is used.

### ushortMagicFrom

    public int ushortMagicFrom

### ushortMagicTo

    public int ushortMagicTo

Constructor Detail

### StructParser.MagicDeclaration

    public StructParser.MagicDeclaration(StreamPosTokenizer scanner)
                                  throws java.io.IOException,
                                         ParseException

Throws:
  `java.io.IOException`
  `ParseException`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright 2012-04-26 Werner Randelshofer
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD