Created for use with the CSV layout. For example:
logger.debug(new ObjectArrayMessage(1, 2, "Bob"));
| Modifier and Type | Field and Description |
|---|---|
| private transient Object[] | |
| private transient String | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| public boolean | equals(final Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | Returns: the String representation of the object.Implements org. Returns the object formatted using its toString method. |
| public String | Returns: the formatted object message.Implements org. Returns the formatted object message. |
| public Object[] | Returns: The object.Implements org. Returns the object as if it were a parameter. |
| public Throwable | Returns: null.Implements org. Returns null. |
| public int | |
| private void | |
| public String | |
| private void |
| array | back to summary |
|---|---|
| private transient Object[] array | |
| arrayString | back to summary |
|---|---|
| private transient String arrayString | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ObjectArrayMessage | back to summary |
|---|---|
| public ObjectArrayMessage(final Object... obj) Creates the ObjectMessage.
| |
| equalObjectsOrStrings | back to summary |
|---|---|
| private boolean equalObjectsOrStrings(final Object[] left, final Object[] right) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getFormat | back to summary |
|---|---|
| public String getFormat() Implements org. Returns the object formatted using its toString method. | |
| getFormattedMessage | back to summary |
|---|---|
| public String getFormattedMessage() Implements org. Returns the formatted object message. | |
| getParameters | back to summary |
|---|---|
| public Object[] getParameters() Implements org. Returns the object as if it were a parameter. | |
| getThrowable | back to summary |
|---|---|
| public Throwable getThrowable() Implements org. Returns null. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| readObject | back to summary |
|---|---|
| private void readObject(final ObjectInputStream in) throws IOException, ClassNotFoundException | |
| 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- | |
| writeObject | back to summary |
|---|---|
| private void writeObject(final ObjectOutputStream out) throws IOException | |