Package ch.njol.skript.classes
Interface Converter<F,T>
- Type Parameters:
F- The accepted type of objects to convert fromT- The type to convert to
- All Known Implementing Classes:
ChainedConverter,Getter,SerializableGetter
Deprecated.
Converts data from type to another.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classDeprecated.holds information about a converterstatic final classDeprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.Disallow all chaining.static final intDeprecated.static final intDeprecated.Disallow other converters from being chained to this.static final intDeprecated.Disallow chaining this with other converters. -
Method Summary
-
Field Details
-
NO_LEFT_CHAINING
static final int NO_LEFT_CHAININGDeprecated.Disallow other converters from being chained to this.- See Also:
-
NO_RIGHT_CHAINING
static final int NO_RIGHT_CHAININGDeprecated.Disallow chaining this with other converters.- See Also:
-
NO_CHAINING
static final int NO_CHAININGDeprecated.Disallow all chaining.- See Also:
-
NO_COMMAND_ARGUMENTS
static final int NO_COMMAND_ARGUMENTSDeprecated.- See Also:
-
-
Method Details
-
convert
Deprecated.Converts an object from the given to the desired type.- Parameters:
f- The object to convert.- Returns:
- the converted object
-
Converter