Overview | Package | Class | Use | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## tapeutils
Class Message

    java.lang.Object
      tapeutils.Message

public class Message
extends java.lang.Object

Structure to hold an error/warning message.

Constructor Summary
`Message(boolean error, int index, java.lang.String text)` Constructor

Method Summary
`int` | `getIndex()` Get the message index.
`java.lang.String` | `getText()` Get the message text.
`boolean` | `isError()` Check if the message is an error.

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

Constructor Detail

### Message

    public Message(boolean error,
                   int index,
                   java.lang.String text)

  Constructor

Parameters:
  `error` -
  `index` -
  `text` -

Method Detail

### isError

    public boolean isError()

  Check if the message is an error.

  Returns:
    Indicates whether the message is an error.

### getIndex

    public int getIndex()

  Get the message index.

  Returns:
    The message index.

### getText

    public java.lang.String getText()

  Get the message text.

  Returns:
    The message text.

Overview | Package | Class | Use | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD