The following class will work:
public final class ARAudioGraphStrings
extends JXTAbstractStrings implements ARAudioGraphStringsType
{
public ARAudioGraphStrings(
final Locale locale)
throws IOException
{
super(
locale,
ARAudioGraphStrings.class,
"/com/io7m/aradine/graph/vanilla",
"AudioGraph"
);
}
}
The following class won't work:
public final class ARAudioGraphStrings
extends JXTAbstractStrings implements ARAudioGraphStringsType
{
public ARAudioGraphStrings(
final Locale locale)
throws IOException
{
super(
locale,
ARAudioGraphStrings.class,
"/com/io7m/aradine/graph/vanilla/",
"AudioGraph"
);
}
}
The error:
java.io.FileNotFoundException:
Could not locate an appropriate resource file.
Locale: en
Class: class com.io7m.aradine.graph.vanilla.ARAudioGraphStrings
Base: /com/io7m/aradine/graph/vanilla/
Name: AudioGraph
Tried resources:
/com/io7m/aradine/graph/vanilla//AudioGraph_en__.xml
/com/io7m/aradine/graph/vanilla//AudioGraph_en_.xml
/com/io7m/aradine/graph/vanilla//AudioGraph_en.xml
/com/io7m/aradine/graph/vanilla//AudioGraph.xml
The following class will work:
The following class won't work:
The error: