com.sun.xml.bind
Class Messages

java.lang.Object
  extended by com.sun.xml.bind.Messages

public class Messages
extends Object

Formats error messages.

Since:
JAXB 1.0

Field Summary
static String BUILD_ID
           
static String CI_CI_NOT_NULL
           
static String CI_NOT_NULL
           
static String COLLISION_DETECTED
           
static String ERR_TYPE_MISMATCH
           
static String INCOMPATIBLE_VERSION
           
static String INCORRECT_VERSION
           
static String MISSING_INTERFACE
           
static String NO_BGM
           
static String UNABLE_TO_READ_BGM
           
 
Constructor Summary
Messages()
           
 
Method Summary
static String format(String property)
           
static String format(String property, Object arg1)
           
static String format(String property, Object[] args)
          Loads a string resource and formats it with specified arguments.
static String format(String property, Object arg1, Object arg2)
           
static String format(String property, Object arg1, Object arg2, Object arg3)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CI_NOT_NULL

public static final String CI_NOT_NULL
See Also:
Constant Field Values

CI_CI_NOT_NULL

public static final String CI_CI_NOT_NULL
See Also:
Constant Field Values

NO_BGM

public static final String NO_BGM
See Also:
Constant Field Values

UNABLE_TO_READ_BGM

public static final String UNABLE_TO_READ_BGM
See Also:
Constant Field Values

COLLISION_DETECTED

public static final String COLLISION_DETECTED
See Also:
Constant Field Values

INCOMPATIBLE_VERSION

public static final String INCOMPATIBLE_VERSION
See Also:
Constant Field Values

MISSING_INTERFACE

public static final String MISSING_INTERFACE
See Also:
Constant Field Values

BUILD_ID

public static final String BUILD_ID
See Also:
Constant Field Values

INCORRECT_VERSION

public static final String INCORRECT_VERSION
See Also:
Constant Field Values

ERR_TYPE_MISMATCH

public static final String ERR_TYPE_MISMATCH
See Also:
Constant Field Values
Constructor Detail

Messages

public Messages()
Method Detail

format

public static String format(String property)

format

public static String format(String property,
                            Object arg1)

format

public static String format(String property,
                            Object arg1,
                            Object arg2)

format

public static String format(String property,
                            Object arg1,
                            Object arg2,
                            Object arg3)

format

public static String format(String property,
                            Object[] args)
Loads a string resource and formats it with specified arguments.



Copyright © 2014 Oracle Corporation. All Rights Reserved.