Class OfflinePlayerParser
- java.lang.Object
- 
- com.github.siroshun09.mccommand.paper.parser.OfflinePlayerParser
 
- 
- All Implemented Interfaces:
- ArgumentParser<OfflinePlayer>
 
 public class OfflinePlayerParser extends Object implements ArgumentParser<OfflinePlayer> A class that parses anArgumentto anOfflinePlayer.
- 
- 
Constructor SummaryConstructors Constructor Description OfflinePlayerParser()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable OfflinePlayerparse(@NotNull Argument argument)Parses anArgumentto a specified type and returns it.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.github.siroshun09.mccommand.common.argument.parser.ArgumentParsergenerateException, generateException, parseOptional, parseOrDefault, parseOrThrow
 
- 
 
- 
- 
- 
Constructor Detail- 
OfflinePlayerParserpublic OfflinePlayerParser() 
 
- 
 - 
Method Detail- 
parse@Nullable public @Nullable OfflinePlayer parse(@NotNull @NotNull Argument argument) Parses anArgumentto a specified type and returns it.- Specified by:
- parsein interface- ArgumentParser<OfflinePlayer>
- Parameters:
- argument- the argument to be parsed
- Returns:
- the value to be parsed, or nullif the parsing fails
 
 
- 
 
-