Class LibraryInfo

java.lang.Object
com.sun.faces.application.resource.LibraryInfo
Direct Known Subclasses:
FaceletLibraryInfo

public class LibraryInfo extends Object

LibraryInfo is a simple wrapper class for information pertinent to building a complete resource path using a Library and/or Contract.

  • Method Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getName

      public String getName()
      Returns:
      return the library name.
    • getVersion

      public VersionInfo getVersion()
      Returns:
      return the version of the library, or null if the library isn't versioned.
    • getHelper

      public ResourceHelper getHelper()
      Returns:
      return the ResourceHelper for this resource
    • getPath

      public String getPath()
      Returns:
      the base path of the library.
    • getPath

      public String getPath(String localePrefix)
    • getLocalePrefix

      public String getLocalePrefix()
      Returns:
      the Locale prefix, if any.
    • getContract

      public String getContract()
      Returns:
      active contract or null
    • toString

      public String toString()
      Overrides:
      toString in class Object