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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getContract()
ResourceHelper
getHelper()
String
getLocalePrefix()
String
getName()
String
getPath()
String
getPath(String localePrefix)
VersionInfo
getVersion()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
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.
-
getLocalePrefix
public String getLocalePrefix()
- Returns:
- the Locale prefix, if any.
-
getContract
public String getContract()
- Returns:
- active contract or null
-
-