com.github.fge.jsonschema.syntax.SyntaxMessageBundle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of json-schema-core Show documentation
Show all versions of json-schema-core Show documentation
Core processing architecture for json-schema-validator
package com.github.fge.jsonschema.syntax;
import com.github.fge.msgsimple.bundle.MessageBundle;
import com.github.fge.msgsimple.source.MessageSource;
import com.github.fge.msgsimple.source.PropertiesMessageSource;
import java.io.IOException;
public final class SyntaxMessageBundle
{
private static final MessageBundle BUNDLE;
static {
final MessageSource source;
try {
source = PropertiesMessageSource.fromResource("/syntax.properties");
} catch (IOException e) {
throw new ExceptionInInitializerError(e);
}
BUNDLE = new MessageBundle.Builder().appendSource(source).build();
}
private SyntaxMessageBundle()
{
}
public static MessageBundle get()
{
return BUNDLE;
}
}