Package dev.aurelium.slate.context
Class DefaultContextProvider<C>
java.lang.Object
dev.aurelium.slate.context.DefaultContextProvider<C>
- All Implemented Interfaces:
ContextProvider<C>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultContextProvider
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceContextProvider<C>
-
parse
Description copied from interface:ContextProviderParses a context from an input- Specified by:
parsein interfaceContextProvider<C>input- The string input to parse, could be something not intended to be parsed as a context- Returns:
- The parsed context, or null if the input does not belong to the context type
-