Package com.nexomc.nexo.utils
Object KeyUtils
-
- All Implemented Interfaces:
public class KeyUtils
-
-
Field Summary
Fields Modifier and Type Field Description public final static KeyMALFORMED_KEY_PLACEHOLDERpublic final static KeyUtilsINSTANCE
-
Method Summary
Modifier and Type Method Description final KeyremoveSuffix(Key $self, String suffix)final KeyappendSuffix(Key $self, String suffix)final Keyreplace(Key $self, String replace, String with)final static KeydropExtension(String key)final static KeydropExtension(Key $self)final static KeyparseKey(String key)final static KeyparseKey(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)
-
-
-
-