Class VersionInfo
java.lang.Object
com.sun.faces.application.resource.VersionInfo
- All Implemented Interfaces:
Comparable
public class VersionInfo extends Object implements Comparable
Metadata pertaining to versions.
-
Constructor Summary
Constructors Constructor Description VersionInfo(String version, String extension)
Constructs a new VersionInfo instance. -
Method Summary
-
Constructor Details
-
VersionInfo
Constructs a new VersionInfo instance.- Parameters:
version
- the versionextension
- the extension (only pertains to versioned resources, not libraries, and thus may benull
)
-
-
Method Details
-
getVersion
- Returns:
- the version
-
getExtension
- Returns:
- the extension of the resource at processing time, or null if this version is associated with a library
-
toString
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable
-