B C D E F G H I P S T V 
All Classes All Packages

B

BOOLEAN - ca.retrylife.inputlib.types.Types
 

C

ca.retrylife.inputlib - package ca.retrylife.inputlib
 
ca.retrylife.inputlib.types - package ca.retrylife.inputlib.types
 
canConvertTo(Types) - Method in enum ca.retrylife.inputlib.types.Types
Check if this type can be converted to another type
CHARACTER - ca.retrylife.inputlib.types.Types
 

D

DOUBLE - ca.retrylife.inputlib.types.Types
 

E

equals(Object) - Method in class ca.retrylife.inputlib.types.Token
 

F

FLOAT - ca.retrylife.inputlib.types.Types
 

G

getBoolean() - Method in class ca.retrylife.inputlib.types.Token
Get the token's value as a Boolean (Nullable)
getCharacter() - Method in class ca.retrylife.inputlib.types.Token
Get the token's value as a Character (Nullable)
getConverterFor(Types) - Method in enum ca.retrylife.inputlib.types.Types
Get the internal converter for a specific type
getDouble() - Method in class ca.retrylife.inputlib.types.Token
Get the token's value as a Double (Nullable)
getFloat() - Method in class ca.retrylife.inputlib.types.Token
Get the token's value as a Float (Nullable)
getInteger() - Method in class ca.retrylife.inputlib.types.Token
Get the token's value as a Integer (Nullable)
getName() - Method in enum ca.retrylife.inputlib.types.Types
Get this type's name
getPrimaryType() - Method in class ca.retrylife.inputlib.types.Token
Gets the type of the original data.
getString() - Method in class ca.retrylife.inputlib.types.Token
Get the token's value as a String (Nullable)

H

hasType(Types) - Method in class ca.retrylife.inputlib.types.Token
Check if this token has its value as a specific type

I

ID - Variable in enum ca.retrylife.inputlib.types.Types
 
INTEGER - ca.retrylife.inputlib.types.Types
 
isType(Types) - Method in enum ca.retrylife.inputlib.types.Types
Check if this is a specific type

P

Parser - Class in ca.retrylife.inputlib
Utils for parsing strings
Parser() - Constructor for class ca.retrylife.inputlib.Parser
 
parseToToken(String) - Static method in class ca.retrylife.inputlib.Parser
Parses a String into a Token
Prompt - Class in ca.retrylife.inputlib
Prompt is the primary class of InputLib.
Prompt() - Constructor for class ca.retrylife.inputlib.Prompt
Create a Prompt using stdin/stdout for I/O
Prompt(InputStream, PrintStream) - Constructor for class ca.retrylife.inputlib.Prompt
Create a Prompt from two streams
promptBoolean(String) - Method in class ca.retrylife.inputlib.Prompt
Prompt a boolean from the user (This can be one of: yes, no, true, false, accept, deny)
promptBoolean(String, boolean) - Method in class ca.retrylife.inputlib.Prompt
Prompt a boolean from the user (This can be one of: yes, no, true, false, accept, deny)
promptCharacter(String) - Method in class ca.retrylife.inputlib.Prompt
Prompt a single character from the user
promptCharacter(String, boolean) - Method in class ca.retrylife.inputlib.Prompt
Prompt a single character from the user
promptCharacterSelection(String, char...) - Method in class ca.retrylife.inputlib.Prompt
Prompt the user to pick one of the allowed characters
promptDouble(String) - Method in class ca.retrylife.inputlib.Prompt
Prompt a double from the user
promptDouble(String, boolean) - Method in class ca.retrylife.inputlib.Prompt
Prompt a double from the user
promptFloat(String) - Method in class ca.retrylife.inputlib.Prompt
Prompt a float from the user (they can optionally add an "f" to the end of their input)
promptFloat(String, boolean) - Method in class ca.retrylife.inputlib.Prompt
Prompt a float from the user (they can optionally add an "f" to the end of their input)
promptInteger(String) - Method in class ca.retrylife.inputlib.Prompt
Prompt an integer from the user (they can enter decimal, binary, or hexadecimal)
promptInteger(String, boolean) - Method in class ca.retrylife.inputlib.Prompt
Prompt an integer from the user (they can enter decimal, binary, or hexadecimal)
promptIntegerRangeSelection(String, int, int) - Method in class ca.retrylife.inputlib.Prompt
Prompt the user to pick an integer between (and including) the min and max number
promptIntegerSelection(String, int...) - Method in class ca.retrylife.inputlib.Prompt
Prompt the user to select one of multiple allowed integers
promptList(String, String...) - Method in class ca.retrylife.inputlib.Prompt
Prompt the user to pick from a list of items
promptMultiLineString(String) - Method in class ca.retrylife.inputlib.Prompt
Get a string spanning multiple lines from the user.
promptString(String) - Method in class ca.retrylife.inputlib.Prompt
Get a String from the user
promptString(String, boolean) - Method in class ca.retrylife.inputlib.Prompt
Get a String from the user
promptToken(String) - Method in class ca.retrylife.inputlib.Prompt
(Advanced Use Only) Get a raw parser token from the user

S

STRING - ca.retrylife.inputlib.types.Types
 

T

toBoolean(Object) - Method in enum ca.retrylife.inputlib.types.Types
Convert a value of this type to a Boolean
toCharacter(Object) - Method in enum ca.retrylife.inputlib.types.Types
Convert a value of this type to a Character
toDouble(Object) - Method in enum ca.retrylife.inputlib.types.Types
Convert a value of this type to a Double
toFloat(Object) - Method in enum ca.retrylife.inputlib.types.Types
Convert a value of this type to a Float
toInteger(Object) - Method in enum ca.retrylife.inputlib.types.Types
Convert a value of this type to an Integer
Token - Class in ca.retrylife.inputlib.types
A Token is a representation of an input token.
Token(Types, Object) - Constructor for class ca.retrylife.inputlib.types.Token
Create a Token
Token(Boolean) - Constructor for class ca.retrylife.inputlib.types.Token
Create a Token from a Boolean
Token(Character) - Constructor for class ca.retrylife.inputlib.types.Token
Create a Token from a Character
Token(Double) - Constructor for class ca.retrylife.inputlib.types.Token
Create a Token from a Double
Token(Float) - Constructor for class ca.retrylife.inputlib.types.Token
Create a Token from a Float
Token(Integer) - Constructor for class ca.retrylife.inputlib.types.Token
Create a Token from an Integer
Token(String) - Constructor for class ca.retrylife.inputlib.types.Token
Create a Token from a String
toString() - Method in class ca.retrylife.inputlib.types.Token
 
toString(Object) - Method in enum ca.retrylife.inputlib.types.Types
Convert a value of this type to a String
Types - Enum in ca.retrylife.inputlib.types
Types is an enum containing a list of (mostly) primitive Java types, and many functions to convert between them all.

V

VALID_BOOLEANS_MAP - Static variable in class ca.retrylife.inputlib.Parser
 
valueOf(String) - Static method in enum ca.retrylife.inputlib.types.Types
Returns the enum constant of this type with the specified name.
values() - Static method in enum ca.retrylife.inputlib.types.Types
Returns an array containing the constants of this enum type, in the order they are declared.
B C D E F G H I P S T V 
All Classes All Packages