Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

abort() - Method in interface org.beryx.textio.TextTerminal
This method is typically called when a text-based input/output session has been aborted by the user or when a severe error occurred.
abort() - Method in class org.beryx.textio.web.WebTextTerminal
 
AbstractDataServer<CTX> - Class in org.beryx.textio.web
Typically used as base class for DataServer implementations.
AbstractDataServer() - Constructor for class org.beryx.textio.web.AbstractDataServer
 
AbstractDataServer.ResponseData - Class in org.beryx.textio.web
 
AbstractTextTerminal<T extends AbstractTextTerminal<T>> - Class in org.beryx.textio
 
AbstractTextTerminal() - Constructor for class org.beryx.textio.AbstractTextTerminal
 
accept(TextIO, RunnerData) - Method in class org.beryx.textio.demo.app.Cuboid
 
accept(TextIO, RunnerData) - Method in class org.beryx.textio.demo.app.ECommerce
 
accept(TextIO, RunnerData) - Method in class org.beryx.textio.demo.app.UserDataCollector
 
addBooleanListener(String, boolean, TerminalProperties.BooleanChangeListener<T>) - Method in class org.beryx.textio.TerminalProperties
Convenience method that adds a listener for the boolean property with the specified key.
addDefaultProperty(String, String) - Method in class org.beryx.textio.AbstractTextTerminal
 
addDoubleListener(String, double, TerminalProperties.DoubleChangeListener<T>) - Method in class org.beryx.textio.TerminalProperties
Convenience method that adds a listener for the double property with the specified key.
addIntListener(String, int, TerminalProperties.IntChangeListener<T>) - Method in class org.beryx.textio.TerminalProperties
Convenience method that adds a listener for the int property with the specified key.
addListener(TerminalProperties.ExtendedChangeListener<T>) - Method in class org.beryx.textio.TerminalProperties
Adds a listener for this TerminalProperties instance.
addLongListener(String, long, TerminalProperties.LongChangeListener<T>) - Method in class org.beryx.textio.TerminalProperties
Convenience method that adds a listener for the long property with the specified key.
addMessage(String) - Method in class org.beryx.textio.web.TextTerminalData
 
addRawMessage(String) - Method in class org.beryx.textio.web.TextTerminalData
 
addSetting(String, Object) - Method in class org.beryx.textio.web.TextTerminalData
 
addSetting(TextTerminalData.KeyValue) - Method in class org.beryx.textio.web.TextTerminalData
 
addSetting(String, Object) - Method in class org.beryx.textio.web.WebTextTerminal
 
addSettings(TextTerminalData.KeyValue...) - Method in class org.beryx.textio.web.WebTextTerminal
 
addStringListener(String, String, TerminalProperties.StringChangeListener<T>) - Method in class org.beryx.textio.TerminalProperties
Convenience method that adds a listener for the String property with the specified key.
AppUtil - Class in org.beryx.textio.demo.app
 
AppUtil() - Constructor for class org.beryx.textio.demo.app.AppUtil
 

B

baseDirConfigurator - Variable in class org.beryx.textio.web.RatpackDataServer
 
BooleanInputReader - Class in org.beryx.textio
A reader for boolean values.
BooleanInputReader(Supplier<TextTerminal>) - Constructor for class org.beryx.textio.BooleanInputReader
 
ByteInputReader - Class in org.beryx.textio
A reader for byte values.
ByteInputReader(Supplier<TextTerminal>) - Constructor for class org.beryx.textio.ByteInputReader
 

C

changed(TT, Boolean) - Method in interface org.beryx.textio.TerminalProperties.BooleanChangeListener
 
changed(TT, V) - Method in interface org.beryx.textio.TerminalProperties.ChangeListener
 
changed(TT, Double) - Method in interface org.beryx.textio.TerminalProperties.DoubleChangeListener
 
changed(TT, String, String, String) - Method in interface org.beryx.textio.TerminalProperties.ExtendedChangeListener
 
changed(TT, Integer) - Method in interface org.beryx.textio.TerminalProperties.IntChangeListener
 
changed(TT, Long) - Method in interface org.beryx.textio.TerminalProperties.LongChangeListener
 
changed(TT, String) - Method in interface org.beryx.textio.TerminalProperties.StringChangeListener
 
CharInputReader - Class in org.beryx.textio
A reader for char values.
CharInputReader(Supplier<TextTerminal>) - Constructor for class org.beryx.textio.CharInputReader
 
checkConfiguration() - Method in class org.beryx.textio.ComparableInputReader
In addition to the checks performed by InputReader.checkConfiguration(), it checks if minVal <= maxVal
checkConfiguration() - Method in class org.beryx.textio.InputReader
Checks if the reader is correctly configured.
checkConfiguration() - Method in class org.beryx.textio.StringInputReader
In addition to the checks performed by InputReader.checkConfiguration(), it checks if minVal <= maxVal
clear() - Method in class org.beryx.textio.web.TextTerminalData
 
ComparableInputReader<T extends Comparable<T>,B extends ComparableInputReader<T,B>> - Class in org.beryx.textio
A reader for values of y type that implements Comparable.
ComparableInputReader(Supplier<TextTerminal>) - Constructor for class org.beryx.textio.ComparableInputReader
 
configureResponseData(Response, AbstractDataServer.ResponseData) - Method in class org.beryx.textio.web.SparkDataServer
 
ConsoleTextTerminal - Class in org.beryx.textio.console
A TextTerminal backed by a Console.
ConsoleTextTerminal() - Constructor for class org.beryx.textio.console.ConsoleTextTerminal
 
ConsoleTextTerminal(Console) - Constructor for class org.beryx.textio.console.ConsoleTextTerminal
 
ConsoleTextTerminalProvider - Class in org.beryx.textio.console
If System.console() is not null, it provides a ConsoleTextTerminal.
ConsoleTextTerminalProvider() - Constructor for class org.beryx.textio.console.ConsoleTextTerminalProvider
 
contentType - Variable in class org.beryx.textio.web.AbstractDataServer.ResponseData
 
context - Variable in class org.beryx.textio.web.RatpackDataServer.ContextHolder
 
ContextHolder(String, Context) - Constructor for class org.beryx.textio.web.RatpackDataServer.ContextHolder
 
contextId - Variable in class org.beryx.textio.web.RatpackDataServer.ContextHolder
 
create(CTX, String) - Method in interface org.beryx.textio.web.DataApiProvider
 
create(RatpackDataServer.ContextHolder, String) - Method in class org.beryx.textio.web.RatpackTextIoApp
 
create(SparkDataServer.SessionHolder, String) - Method in class org.beryx.textio.web.SparkTextIoApp
 
createCopy() - Method in class org.beryx.textio.web.WebTextTerminal
 
createReader() - Static method in class org.beryx.textio.jline.JLineTextTerminal
 
Cuboid - Class in org.beryx.textio.demo.app
A simple application illustrating the use of TextIO.
Cuboid() - Constructor for class org.beryx.textio.demo.app.Cuboid
 

D

DataApi - Interface in org.beryx.textio.web
API for the data exchanged between browser and server.
DataApiProvider<CTX> - Interface in org.beryx.textio.web
 
DataApiProviderException - Exception in org.beryx.textio.web
 
DataApiProviderException(String) - Constructor for exception org.beryx.textio.web.DataApiProviderException
 
DataApiProviderException(String, Throwable) - Constructor for exception org.beryx.textio.web.DataApiProviderException
 
DataServer - Interface in org.beryx.textio.web
The interface implementetd by a web server that allows clients to access the DataApi.
DEFAULT_FONT_SIZE - Static variable in class org.beryx.textio.swing.SwingTextTerminal
 
DEFAULT_INPUT_COLOR - Static variable in class org.beryx.textio.swing.SwingTextTerminal
 
DEFAULT_MAX_READS - Static variable in class org.beryx.textio.mock.MockTextTerminal
 
DEFAULT_PANE_BACKGROUND - Static variable in class org.beryx.textio.swing.SwingTextTerminal
 
DEFAULT_PATH_FOR_GET_DATA - Static variable in class org.beryx.textio.web.AbstractDataServer
 
DEFAULT_PATH_FOR_INIT_DATA - Static variable in class org.beryx.textio.web.AbstractDataServer
 
DEFAULT_PATH_FOR_POST_INPUT - Static variable in class org.beryx.textio.web.AbstractDataServer
 
DEFAULT_PROMPT_COLOR - Static variable in class org.beryx.textio.swing.SwingTextTerminal
 
DEFAULT_TIMEOUT_HAS_ACTION - Static variable in class org.beryx.textio.web.WebTextTerminal
 
DEFAULT_TIMEOUT_NOT_EMPTY - Static variable in class org.beryx.textio.web.WebTextTerminal
 
DEFAULT_USER_INTERRUPT_KEY - Static variable in class org.beryx.textio.AbstractTextTerminal
 
defaultValue - Variable in class org.beryx.textio.InputReader
null, if there is no default value
display() - Method in class org.beryx.textio.swing.SwingTextTerminal
 
dispose(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
dispose(String) - Method in class org.beryx.textio.TextIO
 
dispose() - Method in class org.beryx.textio.TextIO
 
dispose(String) - Method in interface org.beryx.textio.TextTerminal
This method is typically called at the end of a text-based input/output session in order to allow the terminal to release its screen resources.
dispose() - Method in interface org.beryx.textio.TextTerminal
Convenience method for disposing the terminal without providing information about the outcome of the input/output session.
dispose(String) - Method in class org.beryx.textio.web.WebTextTerminal
 
DoubleInputReader - Class in org.beryx.textio
A reader for double values.
DoubleInputReader(Supplier<TextTerminal>) - Constructor for class org.beryx.textio.DoubleInputReader
 

E

ECommerce - Class in org.beryx.textio.demo.app
A simple application illustrating the use of TextIO.
ECommerce() - Constructor for class org.beryx.textio.demo.app.ECommerce
 
EnumInputReader<T extends Enum<T>> - Class in org.beryx.textio
A reader for enum values.
EnumInputReader(Supplier<TextTerminal>, Class<T>) - Constructor for class org.beryx.textio.EnumInputReader
 
equalsFunc - Variable in class org.beryx.textio.InputReader
The function used to check whether two values are equal.
execute(TextIoApp) - Method in class org.beryx.textio.demo.WebTextIoExecutor
 

F

FloatInputReader - Class in org.beryx.textio
A reader for float values.
FloatInputReader(Supplier<TextTerminal>) - Constructor for class org.beryx.textio.FloatInputReader
 

G

GenericInputReader<T> - Class in org.beryx.textio
A reader for values of a type T, for which a parser is passed as constructor argument.
GenericInputReader(Supplier<TextTerminal>, Function<String, InputReader.ParseResult<T>>) - Constructor for class org.beryx.textio.GenericInputReader
 
get() - Method in interface org.beryx.textio.TerminalProperties.BooleanChangeListener
 
get() - Method in interface org.beryx.textio.TerminalProperties.DoubleChangeListener
 
get() - Method in interface org.beryx.textio.TerminalProperties.IntChangeListener
 
get() - Method in interface org.beryx.textio.TerminalProperties.LongChangeListener
 
get() - Method in interface org.beryx.textio.TerminalProperties.StringChangeListener
 
get(CTX) - Method in interface org.beryx.textio.web.DataApiProvider
 
get(RatpackDataServer.ContextHolder) - Method in class org.beryx.textio.web.RatpackTextIoApp
 
get(SparkDataServer.SessionHolder) - Method in class org.beryx.textio.web.SparkTextIoApp
 
getAction() - Method in class org.beryx.textio.web.TextTerminalData
 
getActionData() - Method in class org.beryx.textio.web.TextTerminalData
 
getAnsiBackgroundColor(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
getAnsiColor(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
getAnsiPrefix(JLineTextTerminal.StyleData) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
getBindings() - Method in class org.beryx.textio.web.RatpackDataServer
 
getBoolean(String, boolean) - Method in class org.beryx.textio.TerminalProperties
Gets the boolean value of the property with the specified key.
getColor(String) - Static method in class org.beryx.textio.swing.SwingTextTerminal
 
getColorCode(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
getConfigurators() - Method in class org.beryx.textio.web.RatpackDataServer
 
getCopy() - Method in class org.beryx.textio.web.TextTerminalData
 
getDataApiProvider() - Method in class org.beryx.textio.web.AbstractDataServer
 
getDataApiProvider() - Method in class org.beryx.textio.web.RatpackDataServer
 
getDataApiProvider() - Method in class org.beryx.textio.web.SparkDataServer
 
getDefaultErrorMessage(String) - Method in class org.beryx.textio.InputReader
Returns a generic error message.
getDefaultErrorMessages(String) - Method in class org.beryx.textio.BooleanInputReader
 
getDefaultErrorMessages(String) - Method in class org.beryx.textio.InputReader
If no InputReader.parseErrorMessagesProvider exists, this method is used to provide the list of error messages for the input string s.
getDefaultProperties() - Method in class org.beryx.textio.AbstractTextTerminal
 
getDouble(String, double) - Method in class org.beryx.textio.TerminalProperties
Gets the double value of the property with the specified key.
getErrorMessages(String, String) - Method in interface org.beryx.textio.InputReader.ErrorMessagesProvider
Returns the list of error messages for the given string representation of the value
getErrorMessages(String) - Method in class org.beryx.textio.InputReader
Provides the list of error messages for the input string s.
getErrorMessages() - Method in class org.beryx.textio.InputReader.ParseResult
 
getErrorMessages(T, String) - Method in interface org.beryx.textio.InputReader.ValueChecker
Returns the list of error messages due to constraint violations caused by val
getFrame() - Method in class org.beryx.textio.swing.SwingTextTerminal
 
getHandlers() - Method in class org.beryx.textio.web.RatpackDataServer
 
getId(Context) - Static method in class org.beryx.textio.web.RatpackDataServer
 
getId(Request) - Static method in class org.beryx.textio.web.SparkDataServer
 
getInitData() - Method in class org.beryx.textio.web.RunnerData
 
getInputs() - Method in class org.beryx.textio.mock.MockTextTerminal
 
getInt(String, int) - Method in class org.beryx.textio.TerminalProperties
Gets the int value of the property with the specified key.
getLengthValidationErrors(String) - Method in class org.beryx.textio.StringInputReader
 
getListeners() - Method in class org.beryx.textio.TerminalProperties
 
getLong(String, long) - Method in class org.beryx.textio.TerminalProperties
Gets the long value of the property with the specified key.
getMaxReads() - Method in class org.beryx.textio.mock.MockTextTerminal
 
getMessageGroups() - Method in class org.beryx.textio.web.TextTerminalData
 
getMinMaxErrorMessage(T) - Method in class org.beryx.textio.ComparableInputReader
 
getOutput() - Method in class org.beryx.textio.mock.MockTextTerminal
 
getPathForGetData() - Method in class org.beryx.textio.web.AbstractDataServer
 
getPathForPostInit() - Method in class org.beryx.textio.web.AbstractDataServer
 
getPathForPostInput() - Method in class org.beryx.textio.web.AbstractDataServer
 
getPatternValidationErrors(String) - Method in class org.beryx.textio.StringInputReader
 
getPort() - Method in interface org.beryx.textio.web.DataServer
 
getPort() - Method in class org.beryx.textio.web.RatpackDataServer
 
getPort() - Method in class org.beryx.textio.web.RatpackTextIoApp
 
getPort() - Method in class org.beryx.textio.web.SparkDataServer
 
getPort() - Method in class org.beryx.textio.web.SparkTextIoApp
 
getPort() - Method in interface org.beryx.textio.web.TextIoApp
 
getPossibleValue(T) - Method in class org.beryx.textio.InputReader
 
getProperties() - Method in class org.beryx.textio.AbstractTextTerminal
 
getProperties() - Method in interface org.beryx.textio.TextTerminal
 
getPropertiesPrefixes() - Method in class org.beryx.textio.AbstractTextTerminal
 
getPropertiesReader() - Method in class org.beryx.textio.AbstractTextTerminal
 
getReadCalls() - Method in class org.beryx.textio.mock.MockTextTerminal
 
getReader() - Method in class org.beryx.textio.jline.JLineTextTerminal
 
getResourceContent(String) - Method in class org.beryx.textio.web.RatpackDataServer
 
getServer() - Method in class org.beryx.textio.web.RatpackTextIoApp
 
getServer() - Method in class org.beryx.textio.web.SparkTextIoApp
 
getSessionData() - Method in class org.beryx.textio.web.RunnerData
 
getStandardColorCode(String) - Static method in class org.beryx.textio.jline.JLineTextTerminal
 
getString(String) - Method in class org.beryx.textio.TerminalProperties
 
getString(String, String) - Method in class org.beryx.textio.TerminalProperties
Gets the String value of the property with the specified key.
getStyle(SwingTextTerminal.StyleData) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
getTextIO() - Static method in class org.beryx.textio.TextIoFactory
 
getTextPane() - Method in class org.beryx.textio.swing.SwingTextTerminal
 
getTextTerminal() - Method in class org.beryx.textio.console.ConsoleTextTerminalProvider
 
getTextTerminal() - Method in class org.beryx.textio.jline.JLineTextTerminalProvider
 
getTextTerminal() - Method in class org.beryx.textio.swing.SwingTextTerminalProvider
 
getTextTerminal() - Method in class org.beryx.textio.system.SystemTextTerminalProvider
 
getTextTerminal() - Method in class org.beryx.textio.TextIO
 
getTextTerminal() - Static method in class org.beryx.textio.TextIoFactory
 
getTextTerminal() - Method in interface org.beryx.textio.TextTerminalProvider
 
getTextTerminalData() - Method in interface org.beryx.textio.web.DataApi
This method is called by the web component while polling for data
getTextTerminalData() - Method in class org.beryx.textio.web.WebTextTerminal
 
getUrlContent(URL) - Method in class org.beryx.textio.web.RatpackDataServer
 
getValue() - Method in class org.beryx.textio.InputReader.ParseResult
 

H

handle(Supplier<String>) - Method in class org.beryx.textio.web.AbstractDataServer
 
handleGetData(CTX) - Method in class org.beryx.textio.web.AbstractDataServer
 
handleInit(CTX, String) - Method in class org.beryx.textio.web.AbstractDataServer
 
handlePostInput(CTX, String, boolean) - Method in class org.beryx.textio.web.AbstractDataServer
 
handlerGetData - Variable in class org.beryx.textio.web.RatpackDataServer
 
handlerPostInit - Variable in class org.beryx.textio.web.RatpackDataServer
 
handlerPostInput - Variable in class org.beryx.textio.web.RatpackDataServer
 
handlerStaticAssets - Variable in class org.beryx.textio.web.RatpackDataServer
 
handlerTexttermAssets - Variable in class org.beryx.textio.web.RatpackDataServer
 
hasAction() - Method in class org.beryx.textio.web.TextTerminalData
 

I

init() - Method in class org.beryx.textio.AbstractTextTerminal
 
init() - Method in interface org.beryx.textio.TextTerminal
This method is typically called after the terminal has been created.
init() - Method in interface org.beryx.textio.web.DataServer
 
init() - Method in class org.beryx.textio.web.RatpackDataServer
 
init() - Method in class org.beryx.textio.web.RatpackTextIoApp
 
init() - Method in class org.beryx.textio.web.SparkDataServer
 
init() - Method in class org.beryx.textio.web.SparkTextIoApp
 
init() - Method in interface org.beryx.textio.web.TextIoApp
 
initProperties() - Method in class org.beryx.textio.AbstractTextTerminal
 
initProperties(Reader) - Method in class org.beryx.textio.AbstractTextTerminal
 
initProperties(Properties) - Method in class org.beryx.textio.AbstractTextTerminal
 
inlinePossibleValues - Variable in class org.beryx.textio.InputReader
If true, the list of possible values will be displayed on a single line.
inputMasking - Variable in class org.beryx.textio.InputReader
If true, the input will be masked (useful for example when reading passwords)
InputReader<T,B extends InputReader<T,B>> - Class in org.beryx.textio
A reader for values of type T.
InputReader(Supplier<TextTerminal>) - Constructor for class org.beryx.textio.InputReader
 
InputReader.ErrorMessagesProvider - Interface in org.beryx.textio
Functional interface for providing error messages
InputReader.ParseResult<T> - Class in org.beryx.textio
A holder object returned by the InputReader.parse(String) method, containing the parsed value and/or the error messages.
InputReader.ValueChecker<T> - Interface in org.beryx.textio
Functional interface for checking value constraints
inputTrimming - Variable in class org.beryx.textio.InputReader
If true, the input will be trimmed.
IntInputReader - Class in org.beryx.textio
A reader for int values.
IntInputReader(Supplier<TextTerminal>) - Constructor for class org.beryx.textio.IntInputReader
 
isEmpty() - Method in class org.beryx.textio.web.TextTerminalData
 
isInRange(T) - Method in class org.beryx.textio.ComparableInputReader
Returns true if minVal <= val <= maxVal
isNewGroupRequiredForSetting() - Method in class org.beryx.textio.web.TextTerminalData
 
isPossibleValue(T) - Method in class org.beryx.textio.InputReader
 
isResetRequired() - Method in class org.beryx.textio.web.TextTerminalData
 
isValueListMode() - Method in class org.beryx.textio.InputReader
 
itemName - Variable in class org.beryx.textio.InputReader
The name of the item corresponding to the value to be read.

J

JLineTextTerminal - Class in org.beryx.textio.jline
A JLine-based TextTerminal.
JLineTextTerminal() - Constructor for class org.beryx.textio.jline.JLineTextTerminal
 
JLineTextTerminal(ConsoleReader) - Constructor for class org.beryx.textio.jline.JLineTextTerminal
 
JLineTextTerminalProvider - Class in org.beryx.textio.jline
If System.console() is not null and a ConsoleReader can be created, it provides a JLineTextTerminal.
JLineTextTerminalProvider() - Constructor for class org.beryx.textio.jline.JLineTextTerminalProvider
 

K

key - Variable in class org.beryx.textio.web.TextTerminalData.KeyValue
The key of this pair
KeyValue(String, Object) - Constructor for class org.beryx.textio.web.TextTerminalData.KeyValue
 

L

LongInputReader - Class in org.beryx.textio
A reader for long values.
LongInputReader(Supplier<TextTerminal>) - Constructor for class org.beryx.textio.LongInputReader
 

M

main(String[]) - Static method in class org.beryx.textio.demo.app.Cuboid
 
main(String[]) - Static method in class org.beryx.textio.demo.app.ECommerce
 
main(String[]) - Static method in class org.beryx.textio.demo.app.UserDataCollector
 
main(String[]) - Static method in class org.beryx.textio.demo.TextIoDemo
 
maxVal - Variable in class org.beryx.textio.ComparableInputReader
 
MessageGroup() - Constructor for class org.beryx.textio.web.TextTerminalData.MessageGroup
 
messages - Variable in class org.beryx.textio.web.TextTerminalData.MessageGroup
The list of messages in this group
minVal - Variable in class org.beryx.textio.ComparableInputReader
 
MockTextTerminal - Class in org.beryx.textio.mock
A mock terminal for test purposes.
MockTextTerminal() - Constructor for class org.beryx.textio.mock.MockTextTerminal
 

N

newBooleanInputReader() - Method in class org.beryx.textio.TextIO
 
newByteInputReader() - Method in class org.beryx.textio.TextIO
 
newCharInputReader() - Method in class org.beryx.textio.TextIO
 
newDoubleInputReader() - Method in class org.beryx.textio.TextIO
 
newEnumInputReader(Class<T>) - Method in class org.beryx.textio.TextIO
 
newFloatInputReader() - Method in class org.beryx.textio.TextIO
 
newGenericInputReader(Function<String, InputReader.ParseResult<T>>) - Method in class org.beryx.textio.TextIO
 
newIntInputReader() - Method in class org.beryx.textio.TextIO
 
newLongInputReader() - Method in class org.beryx.textio.TextIO
 
newMessageGroup() - Method in class org.beryx.textio.web.TextTerminalData
 
newShortInputReader() - Method in class org.beryx.textio.TextIO
 
newStringInputReader() - Method in class org.beryx.textio.TextIO
 
noDuplicatesChecker() - Static method in class org.beryx.textio.InputReader
 
nonEmptyListChecker() - Static method in class org.beryx.textio.InputReader
 
numberedPossibleValues - Variable in class org.beryx.textio.InputReader
If true, the list of possible values will be numbered and the desired value will be selected by choosing the corresponding number.

O

org.beryx.textio - package org.beryx.textio
 
org.beryx.textio.console - package org.beryx.textio.console
 
org.beryx.textio.demo - package org.beryx.textio.demo
 
org.beryx.textio.demo.app - package org.beryx.textio.demo.app
 
org.beryx.textio.jline - package org.beryx.textio.jline
 
org.beryx.textio.mock - package org.beryx.textio.mock
 
org.beryx.textio.swing - package org.beryx.textio.swing
 
org.beryx.textio.system - package org.beryx.textio.system
 
org.beryx.textio.web - package org.beryx.textio.web
 

P

parse(String) - Method in class org.beryx.textio.BooleanInputReader
 
parse(String) - Method in class org.beryx.textio.ByteInputReader
 
parse(String) - Method in class org.beryx.textio.CharInputReader
 
parse(String) - Method in class org.beryx.textio.DoubleInputReader
 
parse(String) - Method in class org.beryx.textio.EnumInputReader
 
parse(String) - Method in class org.beryx.textio.FloatInputReader
 
parse(String) - Method in class org.beryx.textio.GenericInputReader
 
parse(String) - Method in class org.beryx.textio.InputReader
Parses the input string
parse(String) - Method in class org.beryx.textio.IntInputReader
 
parse(String) - Method in class org.beryx.textio.LongInputReader
 
parse(String) - Method in class org.beryx.textio.ShortInputReader
 
parse(String) - Method in class org.beryx.textio.StringInputReader
 
parseAndCheck(String) - Method in class org.beryx.textio.InputReader
Parses the input string and runs all value checkers in order to find constraint violations.
parseErrorMessagesProvider - Variable in class org.beryx.textio.InputReader
The provider of parse error messages.
parser - Variable in class org.beryx.textio.GenericInputReader
 
ParseResult(T) - Constructor for class org.beryx.textio.InputReader.ParseResult
 
ParseResult(T, List<String>) - Constructor for class org.beryx.textio.InputReader.ParseResult
 
ParseResult(T, String...) - Constructor for class org.beryx.textio.InputReader.ParseResult
 
portConfigurator - Variable in class org.beryx.textio.web.RatpackDataServer
 
possibleValues - Variable in class org.beryx.textio.InputReader
Non-null and non-empty, if the value to be read must be chosen from a list of allowed values.
postUserInput(String) - Method in interface org.beryx.textio.web.DataApi
This method is called by the web component to post the user input
postUserInput(String, boolean) - Method in class org.beryx.textio.web.WebTextTerminal
 
postUserInput(String) - Method in class org.beryx.textio.web.WebTextTerminal
 
postUserInterrupt(String) - Method in interface org.beryx.textio.web.DataApi
This method is called by the web component in response to a user interrupt (typically triggered by typing Ctrl+Q).
postUserInterrupt(String) - Method in class org.beryx.textio.web.WebTextTerminal
 
print(String) - Method in interface org.beryx.textio.TextTerminal
Prints a message that possibly contains line separators.
print(List<String>) - Method in interface org.beryx.textio.TextTerminal
Prints each message in the list, inserting the line separator string between messages.
printAnsi(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
printf(String, Object...) - Method in interface org.beryx.textio.TextTerminal
Prints a formatted string using the default locale and the specified format string and arguments.
printf(Locale, String, Object...) - Method in interface org.beryx.textio.TextTerminal
Prints a formatted string using the specified locale, format string and arguments.
printGsonMessage(TextTerminal, String) - Static method in class org.beryx.textio.demo.app.AppUtil
 
println() - Method in class org.beryx.textio.console.ConsoleTextTerminal
 
println() - Method in class org.beryx.textio.jline.JLineTextTerminal
 
println() - Method in class org.beryx.textio.mock.MockTextTerminal
 
println() - Method in class org.beryx.textio.swing.SwingTextTerminal
 
println() - Method in class org.beryx.textio.system.SystemTextTerminal
 
println() - Method in interface org.beryx.textio.TextTerminal
Terminates the current line by writing the line separator string.
println(String) - Method in interface org.beryx.textio.TextTerminal
Prints a message that possibly contains line separators and subsequently prints a line separator.
println(List<String>) - Method in interface org.beryx.textio.TextTerminal
Prints each message in the list, inserting the line separator string between messages.
println() - Method in class org.beryx.textio.web.WebTextTerminal
 
printPrompt(List<String>, TextTerminal) - Method in class org.beryx.textio.BooleanInputReader
 
printPrompt(List<String>, TextTerminal) - Method in class org.beryx.textio.InputReader
Displays a prompt inviting the user to enter a value.
promptAdjustments - Variable in class org.beryx.textio.InputReader
If true, the input reader is allowed to tweak the prompter, for example by including the default value or appending a colon at the end.
PROP_ANSI_COLOR_MODE - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_INPUT_BGCOLOR - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_INPUT_BOLD - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_INPUT_COLOR - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_INPUT_FONT_FAMILY - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_INPUT_FONT_SIZE - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_INPUT_ITALIC - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_INPUT_STYLE_CLASS - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_INPUT_SUBSCRIPT - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_INPUT_SUPERSCRIPT - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_INPUT_UNDERLINE - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PANE_BGCOLOR - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PANE_ICON_FILE - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PANE_ICON_RESOURCE - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PANE_ICON_URL - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PANE_STYLE_CLASS - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PANE_TITLE - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PROMPT_BGCOLOR - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PROMPT_BOLD - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PROMPT_COLOR - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PROMPT_FONT_FAMILY - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PROMPT_FONT_SIZE - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PROMPT_ITALIC - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PROMPT_STYLE_CLASS - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PROMPT_SUBSCRIPT - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PROMPT_SUPERSCRIPT - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_PROMPT_UNDERLINE - Static variable in class org.beryx.textio.PropertiesConstants
 
PROP_USER_INTERRUPT_KEY - Static variable in class org.beryx.textio.PropertiesConstants
 
PropertiesConstants - Class in org.beryx.textio
 
PropertiesConstants() - Constructor for class org.beryx.textio.PropertiesConstants
 
PropertiesPrefixes - Annotation Type in org.beryx.textio
 
put(String, Object) - Method in class org.beryx.textio.TerminalProperties
Sets the value associated with the specified key.
putAll(Map<String, ? extends Object>) - Method in class org.beryx.textio.TerminalProperties
 

R

RatpackDataServer - Class in org.beryx.textio.web
A Ratpack-based web server that allows clients to access the DataApi.
RatpackDataServer(BiFunction<RatpackDataServer.ContextHolder, String, DataApi>, Function<RatpackDataServer.ContextHolder, DataApi>) - Constructor for class org.beryx.textio.web.RatpackDataServer
 
RatpackDataServer.ContextHolder - Class in org.beryx.textio.web
 
RatpackTextIoApp - Class in org.beryx.textio.web
 
RatpackTextIoApp(BiConsumer<TextIO, RunnerData>, WebTextTerminal) - Constructor for class org.beryx.textio.web.RatpackTextIoApp
 
rawPrint(String) - Method in class org.beryx.textio.console.ConsoleTextTerminal
 
rawPrint(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
rawPrint(String) - Method in class org.beryx.textio.mock.MockTextTerminal
 
rawPrint(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
rawPrint(String) - Method in class org.beryx.textio.system.SystemTextTerminal
 
rawPrint(String) - Method in interface org.beryx.textio.TextTerminal
Prints the message in its raw form.
rawPrint(List<String>) - Method in interface org.beryx.textio.TextTerminal
Prints each message in the list in its raw form, inserting the line separator string between messages.
rawPrint(String) - Method in class org.beryx.textio.web.WebTextTerminal
 
read(boolean) - Method in class org.beryx.textio.console.ConsoleTextTerminal
 
read(String...) - Method in class org.beryx.textio.InputReader
Reads a value of type T.
read(List<String>) - Method in class org.beryx.textio.InputReader
Reads a value of type T.
read(boolean) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
read(boolean) - Method in class org.beryx.textio.mock.MockTextTerminal
 
read(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
read(boolean) - Method in class org.beryx.textio.system.SystemTextTerminal
 
read(boolean) - Method in interface org.beryx.textio.TextTerminal
Reads a line of text
read(boolean) - Method in class org.beryx.textio.web.WebTextTerminal
 
readList(String...) - Method in class org.beryx.textio.InputReader
 
readList(List<String>) - Method in class org.beryx.textio.InputReader
 
registerUserInterruptHandler(Consumer<ConsoleTextTerminal>, boolean) - Method in class org.beryx.textio.console.ConsoleTextTerminal
 
registerUserInterruptHandler(Consumer<JLineTextTerminal>, boolean) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
registerUserInterruptHandler(Consumer<MockTextTerminal>, boolean) - Method in class org.beryx.textio.mock.MockTextTerminal
 
registerUserInterruptHandler(Consumer<SwingTextTerminal>, boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
registerUserInterruptHandler(Consumer<SystemTextTerminal>, boolean) - Method in class org.beryx.textio.system.SystemTextTerminal
 
registerUserInterruptHandler(Consumer<T>, boolean) - Method in interface org.beryx.textio.TextTerminal
Registers a handler that will be called in response to a user interrupt.
registerUserInterruptHandler(Consumer<WebTextTerminal>, boolean) - Method in class org.beryx.textio.web.WebTextTerminal
 
remove(String) - Method in class org.beryx.textio.TerminalProperties
Removes the property with the specified key.
ResponseData(int, String, String) - Constructor for class org.beryx.textio.web.AbstractDataServer.ResponseData
 
RunnerData - Class in org.beryx.textio.web
 
RunnerData(String) - Constructor for class org.beryx.textio.web.RunnerData
 

S

sendResponseData(Context, AbstractDataServer.ResponseData) - Method in class org.beryx.textio.web.RatpackDataServer
 
session - Variable in class org.beryx.textio.web.SparkDataServer.SessionHolder
 
SessionHolder(String, Session) - Constructor for class org.beryx.textio.web.SparkDataServer.SessionHolder
 
sessionId - Variable in class org.beryx.textio.web.SparkDataServer.SessionHolder
 
setAction(TextTerminalData.Action) - Method in class org.beryx.textio.web.TextTerminalData
 
setAction(TextTerminalData.Action) - Method in class org.beryx.textio.web.WebTextTerminal
 
setAction(TextTerminalData.Action, String) - Method in class org.beryx.textio.web.WebTextTerminal
 
setActionData(String) - Method in class org.beryx.textio.web.TextTerminalData
 
setAnsiColorMode(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setInputBackgroundColor(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setInputBackgroundColor(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setInputBackgroundColor(String) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the specified bgcolor with the key
setInputBackgroundColor(Color) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the hex representation of the specified bgcolor with the key
setInputBold(boolean) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setInputBold(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setInputBold(boolean) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the boolean value bold with the key
setInputColor(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setInputColor(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setInputColor(String) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the specified color with the key
setInputColor(Color) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the hex representation of the specified color with the key
setInputFontFamily(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setInputFontSize(int) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setInputItalic(boolean) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setInputItalic(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setInputItalic(boolean) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the boolean value italic with the key
setInputSubscript(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setInputSuperscript(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setInputUnderline(boolean) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setInputUnderline(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setInputUnderline(boolean) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the boolean value underline with the key
setMaxReads(int) - Method in class org.beryx.textio.mock.MockTextTerminal
 
setOnAbort(Runnable) - Method in class org.beryx.textio.web.WebTextTerminal
 
setOnDispose(Runnable) - Method in class org.beryx.textio.web.WebTextTerminal
 
setPaneBackgroundColor(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPaneBackgroundColor(String) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the specified bgcolor with the key
setPaneBackgroundColor(Color) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the hex representation of the specified bgcolor with the key
setPaneIconFile(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPaneIconResource(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPaneIconUrl(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPaneTitle(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPromptBackgroundColor(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setPromptBackgroundColor(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPromptBackgroundColor(String) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the specified bgcolor with the key
setPromptBackgroundColor(Color) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the hex representation of the specified bgcolor with the key
setPromptBold(boolean) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setPromptBold(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPromptBold(boolean) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the boolean value bold with the key
setPromptColor(String) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setPromptColor(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPromptColor(String) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the specified color with the key
setPromptColor(Color) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the hex representation of the specified color with the key
setPromptFontFamily(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPromptFontSize(int) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPromptItalic(boolean) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setPromptItalic(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPromptItalic(boolean) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the boolean value italic with the key
setPromptSubscript(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPromptSuperscript(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPromptUnderline(boolean) - Method in class org.beryx.textio.jline.JLineTextTerminal
 
setPromptUnderline(boolean) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setPromptUnderline(boolean) - Method in class org.beryx.textio.TerminalProperties
Convenience method that associates the boolean value underline with the key
setResetRequired(boolean) - Method in class org.beryx.textio.web.TextTerminalData
 
setSessionData(Map<String, String>) - Method in class org.beryx.textio.web.RunnerData
 
setTimeoutHasAction(long) - Method in class org.beryx.textio.web.WebTextTerminal
 
setTimeoutNotEmpty(long) - Method in class org.beryx.textio.web.WebTextTerminal
 
settings - Variable in class org.beryx.textio.web.TextTerminalData.MessageGroup
The settings of the messages in this group, as a list of TextTerminalData.KeyValue pairs
setUserInterruptKey(KeyStroke) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setUserInterruptKey(String) - Method in class org.beryx.textio.swing.SwingTextTerminal
 
setUserInterruptKey(String) - Method in class org.beryx.textio.web.WebTextTerminal
 
setUserInterruptKey(int, boolean, boolean, boolean) - Method in class org.beryx.textio.web.WebTextTerminal
 
ShortInputReader - Class in org.beryx.textio
A reader for short values.
ShortInputReader(Supplier<TextTerminal>) - Constructor for class org.beryx.textio.ShortInputReader
 
SparkDataServer - Class in org.beryx.textio.web
A SparkJava-based web server that allows clients to access the DataApi.
SparkDataServer(BiFunction<SparkDataServer.SessionHolder, String, DataApi>, Function<SparkDataServer.SessionHolder, DataApi>) - Constructor for class org.beryx.textio.web.SparkDataServer
 
SparkDataServer.SessionHolder - Class in org.beryx.textio.web
 
SparkTextIoApp - Class in org.beryx.textio.web
 
SparkTextIoApp(BiConsumer<TextIO, RunnerData>, WebTextTerminal) - Constructor for class org.beryx.textio.web.SparkTextIoApp
 
status - Variable in class org.beryx.textio.web.AbstractDataServer.ResponseData
 
StringInputReader - Class in org.beryx.textio
A reader for string values.
StringInputReader(Supplier<TextTerminal>) - Constructor for class org.beryx.textio.StringInputReader
 
stripAll(String) - Static method in class org.beryx.textio.mock.MockTextTerminal
 
SwingTextTerminal - Class in org.beryx.textio.swing
A TextTerminal implemented using a JTextPane inside a JFrame.
SwingTextTerminal() - Constructor for class org.beryx.textio.swing.SwingTextTerminal
 
SwingTextTerminalProvider - Class in org.beryx.textio.swing
If the system is not headless, it provides a SwingTextTerminal.
SwingTextTerminalProvider() - Constructor for class org.beryx.textio.swing.SwingTextTerminalProvider
 
SYSPROP_PROPERTIES_FILE_LOCATION - Static variable in class org.beryx.textio.AbstractTextTerminal
 
SystemTextTerminal - Class in org.beryx.textio.system
A TextTerminal implemented using System.out, System.in and Scanner.
SystemTextTerminal() - Constructor for class org.beryx.textio.system.SystemTextTerminal
 
SystemTextTerminalProvider - Class in org.beryx.textio.system
It provides a SystemTextTerminal.
SystemTextTerminalProvider() - Constructor for class org.beryx.textio.system.SystemTextTerminalProvider
 

T

TerminalProperties<T extends TextTerminal<T>> - Class in org.beryx.textio
A map of properties associated with a TextTerminal.
TerminalProperties(T) - Constructor for class org.beryx.textio.TerminalProperties
 
TerminalProperties.BooleanChangeListener<TT extends TextTerminal<TT>> - Interface in org.beryx.textio
 
TerminalProperties.ChangeListener<TT extends TextTerminal<TT>,V> - Interface in org.beryx.textio
 
TerminalProperties.DoubleChangeListener<TT extends TextTerminal<TT>> - Interface in org.beryx.textio
 
TerminalProperties.ExtendedChangeListener<TT extends TextTerminal<TT>> - Interface in org.beryx.textio
 
TerminalProperties.IntChangeListener<TT extends TextTerminal<TT>> - Interface in org.beryx.textio
 
TerminalProperties.LongChangeListener<TT extends TextTerminal<TT>> - Interface in org.beryx.textio
 
TerminalProperties.StringChangeListener<TT extends TextTerminal<TT>> - Interface in org.beryx.textio
 
text - Variable in class org.beryx.textio.web.AbstractDataServer.ResponseData
 
TEXT_TERMINAL_CLASS_PROPERTY - Static variable in class org.beryx.textio.TextIoFactory
 
TextIO - Class in org.beryx.textio
A factory for creating InputReaders.
TextIO(TextTerminal) - Constructor for class org.beryx.textio.TextIO
 
TextIoApp<APP extends TextIoApp> - Interface in org.beryx.textio.web
 
TextIoDemo - Class in org.beryx.textio.demo
Demo application showing various TextTerminals.
TextIoDemo() - Constructor for class org.beryx.textio.demo.TextIoDemo
 
TextIoFactory - Class in org.beryx.textio
Provides TextTerminal and TextIO implementations.
TextIoFactory() - Constructor for class org.beryx.textio.TextIoFactory
 
TextTerminal<T extends TextTerminal<T>> - Interface in org.beryx.textio
Interface for text-based terminals capable of reading (optionally masking the input) and writing text.
TextTerminalData - Class in org.beryx.textio.web
The data sent by the server to a polling web component.
TextTerminalData() - Constructor for class org.beryx.textio.web.TextTerminalData
 
TextTerminalData.Action - Enum in org.beryx.textio.web
 
TextTerminalData.KeyValue - Class in org.beryx.textio.web
A key-value pair
TextTerminalData.MessageGroup - Class in org.beryx.textio.web
A group of messages sharing the same settings
TextTerminalProvider - Interface in org.beryx.textio
TextTerminal Service Provider Interface
textTerminalSupplier - Variable in class org.beryx.textio.InputReader
Supplier of s
toString() - Method in class org.beryx.textio.console.ConsoleTextTerminalProvider
 
toString() - Method in class org.beryx.textio.demo.app.Cuboid
 
toString() - Method in class org.beryx.textio.demo.app.ECommerce
 
toString() - Method in class org.beryx.textio.demo.app.UserDataCollector
 
toString() - Method in class org.beryx.textio.jline.JLineTextTerminalProvider
 
toString() - Method in class org.beryx.textio.swing.SwingTextTerminalProvider
 
toString() - Method in class org.beryx.textio.system.SystemTextTerminalProvider
 
toString() - Method in class org.beryx.textio.web.TextTerminalData.KeyValue
 
toString() - Method in class org.beryx.textio.web.TextTerminalData.MessageGroup
 
toString() - Method in class org.beryx.textio.web.TextTerminalData
 
typeNameWithIndefiniteArticle() - Method in class org.beryx.textio.ByteInputReader
 
typeNameWithIndefiniteArticle() - Method in class org.beryx.textio.CharInputReader
 
typeNameWithIndefiniteArticle() - Method in class org.beryx.textio.ComparableInputReader
 
typeNameWithIndefiniteArticle() - Method in class org.beryx.textio.DoubleInputReader
 
typeNameWithIndefiniteArticle() - Method in class org.beryx.textio.FloatInputReader
 
typeNameWithIndefiniteArticle() - Method in class org.beryx.textio.IntInputReader
 
typeNameWithIndefiniteArticle() - Method in class org.beryx.textio.LongInputReader
 
typeNameWithIndefiniteArticle() - Method in class org.beryx.textio.ShortInputReader
 

U

UserDataCollector - Class in org.beryx.textio.demo.app
A simple application illustrating the use of TextIO.
UserDataCollector() - Constructor for class org.beryx.textio.demo.app.UserDataCollector
 

V

value - Variable in class org.beryx.textio.web.TextTerminalData.KeyValue
The value of this pair
valueCheckers - Variable in class org.beryx.textio.InputReader
The list of value checkers used to detect constraint violations
valueFormatter - Variable in class org.beryx.textio.InputReader
The formatter used when displaying values of type T.
valueListCheckers - Variable in class org.beryx.textio.InputReader
The list of value checkers used to detect constraint violations for a list of values
valueOf(String) - Static method in enum org.beryx.textio.web.TextTerminalData.Action
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.beryx.textio.web.TextTerminalData.Action
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebTextIoExecutor - Class in org.beryx.textio.demo
Allows executing code in a WebTextTerminal by configuring and initializing a TextIoApp.
WebTextIoExecutor() - Constructor for class org.beryx.textio.demo.WebTextIoExecutor
 
WebTextTerminal - Class in org.beryx.textio.web
A TextTerminal that allows accessing the application via a browser.
WebTextTerminal() - Constructor for class org.beryx.textio.web.WebTextTerminal
 
withAllValues() - Method in class org.beryx.textio.EnumInputReader
 
withAllValuesInline() - Method in class org.beryx.textio.EnumInputReader
 
withAllValuesNumbered() - Method in class org.beryx.textio.EnumInputReader
 
withBaseDir(String) - Method in class org.beryx.textio.web.RatpackDataServer
 
withDefaultValue(T) - Method in class org.beryx.textio.InputReader
 
withEqualsFunc(BiFunction<T, T, Boolean>) - Method in class org.beryx.textio.InputReader
 
withFalseInput(String) - Method in class org.beryx.textio.BooleanInputReader
Configures the string value that corresponds to false.
withIgnoreCase() - Method in class org.beryx.textio.StringInputReader
 
withInlinePossibleValues(T...) - Method in class org.beryx.textio.InputReader
 
withInlinePossibleValues(List<T>) - Method in class org.beryx.textio.InputReader
 
withInputMasking(boolean) - Method in class org.beryx.textio.InputReader
 
withInputTrimming(boolean) - Method in class org.beryx.textio.InputReader
 
withItemName(String) - Method in class org.beryx.textio.InputReader
 
withMaxInactiveSeconds(Integer) - Method in class org.beryx.textio.web.RatpackTextIoApp
 
withMaxInactiveSeconds(Integer) - Method in class org.beryx.textio.web.SparkTextIoApp
 
withMaxInactiveSeconds(Integer) - Method in interface org.beryx.textio.web.TextIoApp
 
withMaxLength(int) - Method in class org.beryx.textio.StringInputReader
 
withMaxVal(T) - Method in class org.beryx.textio.ComparableInputReader
Configures the maximum allowed value
withMinLength(int) - Method in class org.beryx.textio.StringInputReader
 
withMinVal(T) - Method in class org.beryx.textio.ComparableInputReader
Configures the minimum allowed value
withNumberedPossibleValues(T...) - Method in class org.beryx.textio.InputReader
 
withNumberedPossibleValues(List<T>) - Method in class org.beryx.textio.InputReader
 
withOnAbort(Consumer<String>) - Method in class org.beryx.textio.web.RatpackTextIoApp
 
withOnAbort(Consumer<String>) - Method in class org.beryx.textio.web.SparkTextIoApp
 
withOnAbort(Consumer<String>) - Method in interface org.beryx.textio.web.TextIoApp
 
withOnDispose(Consumer<String>) - Method in class org.beryx.textio.web.RatpackTextIoApp
 
withOnDispose(Consumer<String>) - Method in class org.beryx.textio.web.SparkTextIoApp
 
withOnDispose(Consumer<String>) - Method in interface org.beryx.textio.web.TextIoApp
 
withParseErrorMessagesProvider(InputReader.ErrorMessagesProvider) - Method in class org.beryx.textio.InputReader
 
withPathForGetData(String) - Method in class org.beryx.textio.web.AbstractDataServer
 
withPathForGetData(String) - Method in interface org.beryx.textio.web.DataServer
 
withPathForInitData(String) - Method in class org.beryx.textio.web.AbstractDataServer
 
withPathForInitData(String) - Method in interface org.beryx.textio.web.DataServer
 
withPathForPostInput(String) - Method in class org.beryx.textio.web.AbstractDataServer
 
withPathForPostInput(String) - Method in interface org.beryx.textio.web.DataServer
 
withPattern(String) - Method in class org.beryx.textio.StringInputReader
 
withPattern(String, int) - Method in class org.beryx.textio.StringInputReader
 
withPort(int) - Method in class org.beryx.textio.demo.WebTextIoExecutor
 
withPort(int) - Method in interface org.beryx.textio.web.DataServer
 
withPort(int) - Method in class org.beryx.textio.web.RatpackDataServer
 
withPort(Integer) - Method in class org.beryx.textio.web.RatpackTextIoApp
 
withPort(int) - Method in class org.beryx.textio.web.SparkDataServer
 
withPort(Integer) - Method in class org.beryx.textio.web.SparkTextIoApp
 
withPort(Integer) - Method in interface org.beryx.textio.web.TextIoApp
 
withPossibleValues(T...) - Method in class org.beryx.textio.InputReader
 
withPossibleValues(List<T>) - Method in class org.beryx.textio.InputReader
 
withPromptAdjustments(boolean) - Method in class org.beryx.textio.InputReader
 
withSessionDataProvider(Function<Session, Map<String, String>>) - Method in class org.beryx.textio.web.RatpackTextIoApp
 
withSessionDataProvider(Function<Session, Map<String, String>>) - Method in class org.beryx.textio.web.SparkTextIoApp
 
withStaticFilesLocation(String) - Method in class org.beryx.textio.web.RatpackTextIoApp
 
withStaticFilesLocation(String) - Method in class org.beryx.textio.web.SparkTextIoApp
 
withStaticFilesLocation(String) - Method in interface org.beryx.textio.web.TextIoApp
 
withTrueInput(String) - Method in class org.beryx.textio.BooleanInputReader
Configures the string value that corresponds to true.
withValueChecker(InputReader.ValueChecker<T>) - Method in class org.beryx.textio.InputReader
Adds the valueChecker passed as argument.
withValueFormatter(Function<T, String>) - Method in class org.beryx.textio.InputReader
 
withValueListChecker(InputReader.ValueChecker<List<T>>) - Method in class org.beryx.textio.InputReader
Adds the valueListChecker passed as argument.
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links