|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AQConsole
This interface provides methods for input/output to a console. An instance of this interface is available to aquascripts via aqua.console alias.
Method Summary | |
---|---|
void |
list(Object collection)
Lists an AQDataSet ,
Collection ,
Enumeration ,
Iterator ,
a java array,
or a javascript object
in human-readable form. |
void |
print(String text)
Prints a string to the console, without appending a newline. |
void |
println(String text)
Prints a string to the console, followed by a newline. |
String |
readLine(String prompt)
Presents the user with an entry dialog allowing to enter a line of text. |
String |
readPassword(String prompt)
Presents the user with an entry dialog allowing to enter a password. |
Method Detail |
---|
void print(String text)
text
- String to print.void println(String text)
text
- String to print.void list(Object collection)
AQDataSet
,
Collection
,
Enumeration
,
Iterator
,
a java array,
or a javascript object
in human-readable form.
collection
- String readLine(String prompt)
prompt
- Text to display in the input dialog.String readPassword(String prompt)
prompt
- Text to display in the input dialog.
|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |