All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.tools.jxc.apt.Messages Maven / Gradle / Ivy

Go to download

Old JAXB Binding Compiler. Contains source code needed for binding customization files into java sources. In other words: the *tool* to generate java classes for the given xml representation.

There is a newer version: 4.0.5
Show newest version
package com.sun.tools.jxc.apt;

import java.text.MessageFormat;
import java.util.ResourceBundle;

/**
 * Message resources.
 *
 * @author Kohsuke Kawaguchi
 */
enum Messages {
    // Accessor
    NON_EXISTENT_FILE, // 1 arg
    NO_FILE_SPECIFIED, // 0 args
    NO_CLASSPATH_SPECIFIED, // 0 args
    UNRECOGNIZED_PARAMETER, //1 arg
    ;

    private static final ResourceBundle rb = ResourceBundle.getBundle(Messages.class.getPackage().getName() +".MessageBundle");

    public String toString() {
        return format();
    }

    public String format( Object... args ) {
        return MessageFormat.format( rb.getString(name()), args );
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy