APIdia Launch Partner
Top Description Fields Constructors Methods
jdk.internal.org.jline.utils

public final Class Curses

extends Object
Class Inheritance
Imports
java.io.Flushable, .IOError, .IOException, .StringWriter, java.util.ArrayDeque

Curses helper methods.
Author
Guillaume Nodet

Field Summary

Modifier and TypeField and Description
private static final Object[]
private static final int
private static final int
private static final int
private static final int
private static final Object[]

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static void
doTputs(Appendable out, String str, Object... params)

private static int
public static String

Returns:

the result string
tputs
(String
the capability to output
cap
,
Object...
optional parameters
params
)

Print the given terminal capabilities

public static void
tputs(Appendable
the output stream
out
,
String
the capability to output
str
,
Object...
optional parameters
params
)

Print the given terminal capabilities

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dvback to summary
private static final Object[] dv
IFTE_ELSEback to summary
private static final int IFTE_ELSE
IFTE_IFback to summary
private static final int IFTE_IF
IFTE_NONEback to summary
private static final int IFTE_NONE
IFTE_THENback to summary
private static final int IFTE_THEN
svback to summary
private static final Object[] sv

Constructor Detail

Cursesback to summary
private Curses()

Method Detail

doTputsback to summary
private static void doTputs(Appendable out, String str, Object... params) throws IOException
toIntegerback to summary
private static int toInteger(Object pop)
tputsback to summary
public static String tputs(String cap, Object... params)

Print the given terminal capabilities

Parameters
cap:String

the capability to output

params:Object[]

optional parameters

Returns:String

the result string

tputsback to summary
public static void tputs(Appendable out, String str, Object... params)

Print the given terminal capabilities

Parameters
out:Appendable

the output stream

str:String

the capability to output

params:Object[]

optional parameters