LibraryInfo is a simple wrapper class for information pertinent to building a complete resource path
using a Library and/or Contract.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private final ResourceHelper | |
| private String | |
| private final String | |
| private String | |
| private String | |
| private final VersionInfo |
| Access | Constructor and Description |
|---|---|
| pack-priv | LibraryInfo(String
the name of the library name, VersionInfo the version of the library, if any version, String localePrefix, String contract, ResourceHelper the helper class for this resource helper)Constructs a new |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | |
| public ResourceHelper | |
| public String | |
| public String | |
| public String | |
| public String | |
| public VersionInfo | |
| public int | |
| private void | |
| public String |
| contract | back to summary |
|---|---|
| private String contract | |
| helper | back to summary |
|---|---|
| private final ResourceHelper helper | |
| localePrefix | back to summary |
|---|---|
| private String localePrefix | |
| name | back to summary |
|---|---|
| private final String name | |
| nonLocalizedPath | back to summary |
|---|---|
| private String nonLocalizedPath | |
| path | back to summary |
|---|---|
| private String path | |
| version | back to summary |
|---|---|
| private final VersionInfo version | |
| LibraryInfo | back to summary |
|---|---|
| pack-priv LibraryInfo(String name, VersionInfo version, String localePrefix, String contract, ResourceHelper helper) Constructs a new
| |
| LibraryInfo | back to summary |
|---|---|
| pack-priv LibraryInfo(LibraryInfo other, boolean copyLocalePrefix) | |
| appendBasePath | back to summary |
|---|---|
| private void appendBasePath(StringBuilder builder) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getContract | back to summary |
|---|---|
public String getContract()
| |
| getHelper | back to summary |
|---|---|
public ResourceHelper getHelper()
| |
| getLocalePrefix | back to summary |
|---|---|
public String getLocalePrefix()
| |
| getName | back to summary |
|---|---|
public String getName()
| |
| getPath | back to summary |
|---|---|
public String getPath()
| |
| getPath | back to summary |
|---|---|
| public String getPath(String localePrefix) | |
| getVersion | back to summary |
|---|---|
public VersionInfo getVersion()
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| initPath | back to summary |
|---|---|
| private void initPath() Construct the full path to the base directory of the library's resources. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |