Class LibraryInfo
- java.lang.Object
-
- com.sun.faces.application.resource.LibraryInfo
-
- Direct Known Subclasses:
FaceletLibraryInfo
public class LibraryInfo extends Object
LibraryInfois a simple wrapper class for information pertinent to building a complete resource path using a Library and/or Contract.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetContract()ResourceHelpergetHelper()StringgetLocalePrefix()StringgetName()StringgetPath()StringgetPath(String localePrefix)VersionInfogetVersion()inthashCode()StringtoString()
-
-
-
Method Detail
-
getName
public String getName()
- Returns:
- return the library name.
-
getVersion
public VersionInfo getVersion()
- Returns:
- return the version of the library, or
nullif the library isn't versioned.
-
getHelper
public ResourceHelper getHelper()
- Returns:
- return the
ResourceHelperfor this resource
-
getPath
public String getPath()
- Returns:
- the base path of the library.
-
getLocalePrefix
public String getLocalePrefix()
- Returns:
- the Locale prefix, if any.
-
getContract
public String getContract()
- Returns:
- active contract or null
-
-