RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.util.StringUtils Class Reference

Static Public Member Functions

static String appendPluralCheck (String thing)
static String appendIndefiniteArticle (String thing)
static long hash (String input)
static int hashArchive (String string)

Detailed Description

Definition at line 43 of file StringUtils.java.

Member Function Documentation

◆ appendIndefiniteArticle()

String com.osroyale.util.StringUtils.appendIndefiniteArticle ( String thing)
inlinestatic

Appends the determined indefinite article to thing.

Parameters
thingthe 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
thingthe 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
inputThe string to hash.
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
stringThe 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: