wetheinter.net.dev.il8n.CodeServerDebugMessages Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xapi-maven-plugin Show documentation
Show all versions of xapi-maven-plugin Show documentation
Mojos for using xapi-dev utilies in maven builds.
package wetheinter.net.dev.il8n;
import com.google.gwt.core.shared.GWT;
public interface CodeServerDebugMessages {
/**
* This class houses our static final il8n singleton.
* Recommended use:
* import xapi.dev.il8n.CodeServerDebugMessages.Static.*;
*
* @author James X. Nelson ([email protected], @ajax)
*
*/
public class Debug{
static final CodeServerDebugMessages msgs;
static{
CodeServerDebugMessages candidate;
try{
candidate = GWT.create(CodeServerDebugMessages.class);
}catch (Exception e) {
try {
candidate = Messages_EN.class.newInstance();
} catch (Exception e1) {
e1.printStackTrace(System.err);
candidate = null;//needed for ide not to complain about unassigned finals
System.exit(1);
}
}
msgs = candidate;
}
public static String unableToStartServer(){
return msgs.unableToStartServer();
}
public static String unableToParseArguments(){
return msgs.unableToParseArguments();
}
}
String unableToStartServer();
String unableToParseArguments();
}