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

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

import java.util.ListResourceBundle;

/**
 * The resource bundle for the sample ESI portlet.
 */
public class ESIBundle 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 TITLE_LABEL_KEY            = "TITLELABEL";
    public static final String SHORTTITLE_LABEL_KEY       = "SHORTTITLELABEL";
    public static final String TIMEOUTMESSAGE_LABEL_KEY   = "TIMEOUTMSGLABEL";
    public static final String TIMEOUTMESSAGE_KEY         = "TIMEOUTMSG";
    public static final String INVALIDATELINK_TEXT_KEY    = "INVALIDATELINK";
    public static final String INVALIDATIONHOST_LABEL_KEY = "INVHOSTLABEL";
    public static final String INVALIDATIONPREF_LABEL_KEY = "INVPREFLABEL";
    public static final String INVALIDATIONFILE_LABEL_KEY = "INVFILELABEL";
    public static final String INV_EXPL_KEY               = "INVEXPL";
    public static final String PREAMBLE_KEY               = "PREAMBLE";

    static private final Object[][] contents = {
      // LOCALIZE THIS
      {TITLE_LABEL_KEY,            "Title:"},
      {SHORTTITLE_LABEL_KEY,       "Short title:"},
      {TIMEOUTMESSAGE_LABEL_KEY,   "Timeout message:"},
      {TIMEOUTMESSAGE_KEY,         "ESI include request timed out"},
      {INVALIDATELINK_TEXT_KEY,    "Invalidate the cached ESI include content"},

      {INVALIDATIONHOST_LABEL_KEY, "Invalidation Host (eg. www.myhost.com:8000):"},
      {INVALIDATIONPREF_LABEL_KEY, "Invalidation Prefix (eg. /jsps/esi/):"},
      {INVALIDATIONFILE_LABEL_KEY, "Invalidation filename (eg. fragment.jsp):"},
      {INV_EXPL_KEY, "<p>See the <i>Oracle Application Server Web Cache Administration and Deployment Guide</i> for an in-depth discussion of ESI and the ESI include directive.</p>"},
      {PREAMBLE_KEY, "This portlet demonstrates using ESI to include documents in a portlet."},
      // END OF MATERIAL TO LOCALIZE
    };
}

