Definition at line 43 of file StringUtils.java.
◆ appendIndefiniteArticle()
String com.osroyale.util.StringUtils.appendIndefiniteArticle |
( |
String | thing | ) |
|
|
inlinestatic |
Appends the determined indefinite article to thing
.
- Parameters
-
thing | the thing to append. |
- Returns
- the
thing
after the indefinite article has been appended.
Definition at line 131 of file StringUtils.java.
◆ appendPluralCheck()
String com.osroyale.util.StringUtils.appendPluralCheck |
( |
String | thing | ) |
|
|
inlinestatic |
Appends the determined plural check to thing
.
- Parameters
-
thing | the thing to append. |
- Returns
- the
thing
after the plural check has been appended.
Definition at line 121 of file StringUtils.java.
◆ hash()
long com.osroyale.util.StringUtils.hash |
( |
String | input | ) |
|
|
inlinestatic |
Hashes a given string input.
- Parameters
-
- Returns
- A hash as a
long
.
Definition at line 186 of file StringUtils.java.
◆ hashArchive()
int com.osroyale.util.StringUtils.hashArchive |
( |
String | string | ) |
|
|
inlinestatic |
Hashes a String
using Jagex's algorithm, this method should be used to convert actual names to hashed names to lookup files within the FileSystem
.
- Parameters
-
string | The string to hash. |
- Returns
- The hashed string.
Definition at line 214 of file StringUtils.java.
The documentation for this class was generated from the following file: