public class IO
extends java.lang.Object
Constructor and Description |
---|
IO() |
Modifier and Type | Method and Description |
---|---|
static long |
inputBarcode()
Reads the value represented by a barcode image loaded from a dialog.
|
static long |
inputBarcode(java.lang.String pathname)
Reads the value represented by a barcode image specified by a pathname.
|
static char |
inputCharacter()
Reads a character from the terminal.
|
static double |
inputDouble()
Reads a double from the terminal.
|
static float |
inputFloat()
Reads a float from the terminal.
|
static int |
inputInteger()
Reads an integer from the terminal.
|
static long |
inputLong()
Reads a long from the terminal.
|
static java.lang.String |
inputString()
Reads a string from the terminal.
|
static java.lang.String |
inputTextImage()
Reads the text in an image by performing Optical Character Recognition (OCR).
|
static java.lang.String |
inputTextImage(java.lang.String pathname)
Reads the text in an image by performing Optical Character Recognition (OCR).
|
static void |
output(java.lang.Object value)
Prints a value on the terminal.
|
static void |
outputBarcode(long value)
Saves a barcode image representing a specified value to the file system.
|
static void |
outputln(java.lang.Object value)
Prints a value on the terminal and jumps to a new line.
|
public static char inputCharacter()
public static java.lang.String inputString()
public static int inputInteger()
public static long inputLong()
public static float inputFloat()
public static double inputDouble()
public static java.lang.String inputTextImage()
public static java.lang.String inputTextImage(java.lang.String pathname)
pathname
- The filename of the image.public static long inputBarcode()
public static long inputBarcode(java.lang.String pathname)
pathname
- The pathname of the barcode image.public static void outputBarcode(long value)
value
- The value to be represented by the barcode.public static void outputln(java.lang.Object value)
value
- The value to be printed.public static void output(java.lang.Object value)
value
- The value to be printed.