MessageValidator

Inheritance: java.lang.Object

public class MessageValidator

The message validator.

Constructors

ConstructorDescription
MessageValidator()

Methods

MethodDescription
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:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
streamjava.io.InputStreamSource streamjava.io.InputStream.

Returns: MessageValidationResult - Result of validationMessageValidationResult.

validate(String fileName)

public static MessageValidationResult validate(String fileName)

Validate file as message.

Parameters:

ParameterTypeDescription
fileNamejava.lang.StringSource file pathString.

Returns: MessageValidationResult - Result of validationMessageValidationResult.

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int