Class LiteralEntryData<T>
java.lang.Object
org.skriptlang.skript.lang.entry.EntryData<T>
org.skriptlang.skript.lang.entry.KeyValueEntryData<T>
org.skriptlang.skript.lang.entry.util.LiteralEntryData<T>
A specific 
KeyValueEntryData type designed to parse the
  entry's value as a supported literal type.
 This entry makes use of Classes.parse(String, Class, ParseContext)
  to parse the user's input using registered ClassInfos
  and Converters.
 This data CAN return null if the user's input is unable to be parsed as the expected type.- 
Constructor SummaryConstructorsConstructorDescriptionLiteralEntryData(String key, T defaultValue, boolean optional, Class<T> type) 
- 
Method SummaryMethods inherited from class org.skriptlang.skript.lang.entry.KeyValueEntryDatacanCreateWith, getSeparator, getValueMethods inherited from class org.skriptlang.skript.lang.entry.EntryDatagetDefaultValue, getKey, isOptional, supportsMultiple
- 
Constructor Details- 
LiteralEntryData- Parameters:
- type- The type to parse the value into.
 
 
- 
- 
Method Details- 
getValueDescription copied from class:KeyValueEntryDataParses a String value using this entry data.- Specified by:
- getValuein class- KeyValueEntryData<T>
- Parameters:
- value- The String value to parse.
- Returns:
- The parsed value.
 
 
-