Package com.nexomc.nexo.utils
Object KeyUtils
-
- All Implemented Interfaces:
public class KeyUtils
-
-
Field Summary
Fields Modifier and Type Field Description public final static Key
MALFORMED_KEY_PLACEHOLDER
public final static KeyUtils
INSTANCE
-
Method Summary
Modifier and Type Method Description final Key
removeSuffix(Key $self, String suffix)
final Key
appendSuffix(Key $self, String suffix)
final Key
replace(Key $self, String replace, String with)
final static Key
dropExtension(String key)
final static Key
dropExtension(Key $self)
final static Key
parseKey(String key)
final static Key
parseKey(String namespace, String key, String prefix)
-
-
Method Detail
-
removeSuffix
final Key removeSuffix(Key $self, String suffix)
-
appendSuffix
final Key appendSuffix(Key $self, String suffix)
-
dropExtension
final static Key dropExtension(String key)
-
dropExtension
final static Key dropExtension(Key $self)
-
-
-
-