// Copyright (c) 2002 Oracle Corporation. All rights reserved.

package oracle.portal.sample.v2.devguide.cachelevel.resource;

import java.util.ListResourceBundle;

/**
 * The resource bundle for the sample cache level portlets.
 */
public class CacheLevelBundle extends ListResourceBundle {

    public Object[][] getContents() {
      return contents;
    }

    //
    // The following constants are keys for strings that appear as
    // labels for edit fields on the customization screen.
    //
    public static final String GREETING_KEY      = "GREETING";
    public static final String LASTACCESS_KEY    = "LASTACCESS";
    public static final String CACHELEVEL_KEY    = "CACHELEVEL";
    public static final String SESSIONID_KEY     = "SESSIONID";
    public static final String NOSESSIONID_KEY   = "NOSESSIONID";
    public static final String MULTSESSIONID_KEY = "MULTSESSIONID";
    public static final String LOGINTIME_KEY     = "LOGINTIME";
    public static final String NOLOGINTIME_KEY   = "NOLOGINTIME";
    public static final String MULTLOGINTIME_KEY = "MULTLOGINTIME";

    static private final Object[][] contents = {
      // LOCALIZE THIS
      {GREETING_KEY,      "Hello "},
      {LASTACCESS_KEY,    "Time of last access: "},
      {CACHELEVEL_KEY,    "This portlet's cache level is "},
      {SESSIONID_KEY,     "The session ID is "},
      {NOSESSIONID_KEY,   "No session ID."},
      {MULTSESSIONID_KEY, "Multiple session IDs!"},
      {LOGINTIME_KEY,     "The login time is "},
      {NOLOGINTIME_KEY,   "No login time."},
      {MULTLOGINTIME_KEY, "Multiple login times!"},
      // END OF MATERIAL TO LOCALIZE
    };
}

