String Layer = test.nextToken();
String Package = test.nextToken();
String Number = test.nextToken();
// get the Message
MessageHandler msg = MessageHandler.getInstance(basename);
String messageText = msg.getMessageOptional(key, null);
// get the Location
String LocationInformation = null;
if (Location.equals("I"))
{
LocationInformation = "Intern";
} // if (Location.equals("I"))
else if (Location.equals("E"))
{
LocationInformation = "Extern";
} // if (Location.equals("E"))
else
{
return "Wrong Location";
}
// get the Layer
String LayerInformation = msg.getMessageOptional(Layer, null);
// get the Package
String PackageInformation = msg.getMessageOptional(Layer + "_"
+ Package, null);
String informations = new StringBuffer(Location).append(" = ").append(
LocationInformation).append(Constants.LINE_SEPERATOR).append(
Layer).append(" = ").append(LayerInformation).append(