Class SharedStringBuilder

java.lang.Object
org.primefaces.util.SharedStringBuilder

public class SharedStringBuilder extends Object
  • Method Details

    • get

      public static StringBuilder get(javax.faces.context.FacesContext context, String key, int initialSize)
      Get a shared StringBuilder instance.
      Parameters:
      context - The FacesContext
      key - The key for the FacesContext attributes.
      initialSize - The initial size for the StringBuilder.
      Returns:
      The shared StringBuilder instance
    • get

      public static StringBuilder get(javax.faces.context.FacesContext context, String key)
      Get a shared StringBuilder instance.
      Parameters:
      context - The FacesContext
      key - The key for the FacesContext attributes.
      Returns:
      The shared StringBuilder instance
    • get

      public static StringBuilder get(String key)
      Get a shared StringBuilder instance.
      Parameters:
      key - The key for the FacesContext attributes.
      Returns:
      The shared StringBuilder instance
    • get

      public static StringBuilder get(String key, int initialSize)
      Get a shared StringBuilder instance.
      Parameters:
      key - The key for the FacesContext attributes.
      initialSize - The initial size for the StringBuilder.
      Returns:
      The shared StringBuilder instance