MessageValidator
Contents
[
Hide
]Inheritance: java.lang.Object
public class MessageValidator
The message validator.
Constructors
| Constructor | Description |
|---|---|
| MessageValidator() |
Methods
| Method | Description |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| validate(InputStream stream) | Validate stream as message. |
| validate(String fileName) | Validate file as message. |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
MessageValidator()
public MessageValidator()
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
validate(InputStream stream)
public static MessageValidationResult validate(InputStream stream)
Validate stream as message.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| stream | java.io.InputStream | Source streamjava.io.InputStream. |
Returns: MessageValidationResult - Result of validationMessageValidationResult.
validate(String fileName)
public static MessageValidationResult validate(String fileName)
Validate file as message.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| fileName | java.lang.String | Source file pathString. |
Returns: MessageValidationResult - Result of validationMessageValidationResult.
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |