Class StringProcessor.NoOpStringProcessor
java.lang.Object
cloud.commandframework.annotations.StringProcessor.NoOpStringProcessor
- All Implemented Interfaces:
StringProcessor
- Enclosing interface:
- StringProcessor
public static final class StringProcessor.NoOpStringProcessor
extends Object
implements StringProcessor
-
Nested Class Summary
Nested classes/interfaces inherited from interface cloud.commandframework.annotations.StringProcessor
StringProcessor.NoOpStringProcessor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull StringprocessString(@NonNull String input) Processes theinputstring and returns the processed result.
-
Constructor Details
-
NoOpStringProcessor
public NoOpStringProcessor()
-
-
Method Details
-
processString
Description copied from interface:StringProcessorProcesses theinputstring and returns the processed result.This should always return a non-
nullresult. If the input string isn't applicable to the processor implementation, the original string should be returned.- Specified by:
processStringin interfaceStringProcessor- Parameters:
input- the input string- Returns:
- the processed string
-