Package net.sf.xbus.base.core

Examples of net.sf.xbus.base.core.MessageHandler


          String key = Constants.LOCATION_INTERN + "_"
              + Constants.LAYER_TECHNICAL + "_"
              + Constants.PACKAGE_TECHNICAL_FILE + "_" + "1";

          MessageHandler msg = MessageHandler.getInstance("errors");
          String messageText = msg.getMessage(key, params);

          Trace.warn(messageText);
        }

      }
View Full Code Here


    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(
View Full Code Here

TOP

Related Classes of net.sf.xbus.base.core.MessageHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.