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.MagicOrIntLiteral

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

Enclosing class:
  StructParser

    protected static class StructParser.MagicOrIntLiteral

extends java.lang.Object

MagicOrIntLiteral expression.

     MagicOrIntLiteral ::= magicLiteral | intLiteral | hexLiteral

Field Summary
`int` | `intValue`
`java.lang.String` | `magicValue`

Constructor Summary
`StructParser.MagicOrIntLiteral(StreamPosTokenizer scanner)`

Method Summary
`int` | `intValue()`
`boolean` | `isMagic()`
`java.lang.String` | `stringValue()`
`static int` | `toInt(java.lang.String magic)`
`static java.lang.String` | `toMagic(int value)`

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

Field Detail

### intValue

    public int intValue

### magicValue

    public java.lang.String magicValue

Constructor Detail

### StructParser.MagicOrIntLiteral

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

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

Method Detail

### isMagic

    public boolean isMagic()

### intValue

    public int intValue()

### stringValue

    public java.lang.String stringValue()

### toInt

    public static int toInt(java.lang.String magic)

### toMagic

    public static java.lang.String toMagic(int value)

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