| Modifier and Type | Class and Description |
|---|---|
| public static enum | FormatError.
Classification of an error. |
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final String | |
| private final int | |
| private final FormatError. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | Returns: the byte buffer holding the patch script.Get the byte buffer holding the patch script. |
| public String | Returns: line of the patch script the error appears on.Get line of the patch script the error appears on. |
| public String | |
| public int | Returns: byte offset withingetBuffer() where the error is.Get byte offset within |
| public FormatError. | |
| public String |
| buf | back to summary |
|---|---|
| private final byte[] buf | |
| message | back to summary |
|---|---|
| private final String message | |
| offset | back to summary |
|---|---|
| private final int offset | |
| severity | back to summary |
|---|---|
| private final FormatError. | |
| FormatError | back to summary |
|---|---|
| pack-priv FormatError(final byte[] buffer, final int ptr, final FormatError. | |
| getBuffer | back to summary |
|---|---|
| public byte[] getBuffer() Get the byte buffer holding the patch script.
| |
| getLineText | back to summary |
|---|---|
| public String getLineText() Get line of the patch script the error appears on.
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Get a message describing the error.
| |
| getOffset | back to summary |
|---|---|
| public int getOffset() Get byte offset within
| |
| getSeverity | back to summary |
|---|---|
| public FormatError. Get the severity of the error.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| public static final FormatError. | ERROR
The error indicates the script is severely flawed. |
| public static final FormatError. | WARNING
The error is unexpected, but can be worked around. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static FormatError. | |
| public static FormatError. |
| ERROR | back to summary |
|---|---|
| public static final FormatError. The error indicates the script is severely flawed. | |
| WARNING | back to summary |
|---|---|
| public static final FormatError. The error is unexpected, but can be worked around. | |
| Severity | back to summary |
|---|---|
| private Severity() | |
| valueOf | back to summary |
|---|---|
| public static FormatError. | |
| values | back to summary |
|---|---|
| public static FormatError. | |