Package constant.
To create a PackageDesc for a package,
use the of(String) or ofInternalName(String) method.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public String | Returns: the package name in internal form, or the empty string for the unnamed packageReturns the fully qualified (slash-separated) package name in internal form
of this |
| public default String | Returns: the package name, or the empty string for the unnamed packageReturns the fully qualified (dot-separated) package name
of this |
| public static PackageDesc | Returns: aPackageDesc describing the desired packagethe fully qualified (dot-separated) package name name)Returns a |
| public static PackageDesc | Returns: aPackageDesc describing the desired packagethe fully qualified package name, in internal
(slash-separated) form name)Returns a |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Compare the specified object with this descriptor for equality.
Returns | |
| internalName | back to summary |
|---|---|
| public String internalName() Returns the fully qualified (slash-separated) package name in internal form
of this
| |
| name | back to summary |
|---|---|
| public default String name() Returns the fully qualified (dot-separated) package name
of this
| |
| of | back to summary |
|---|---|
| public static PackageDesc of(String name) Returns a
| |
| ofInternalName | back to summary |
|---|---|
| public static PackageDesc ofInternalName(String name) Returns a
| |