Package | Class | Use | Tree | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## battaglianavale
Class Keyboard

    java.lang.Object
      battaglianavale.Keyboard

    public class Keyboard

extends java.lang.Object

Field Summary
`private static java.lang.String` | `current_token`
`private static int` | `errorCount`
`private static java.io.BufferedReader` | `in`
`private static boolean` | `printErrors`
`private static java.util.StringTokenizer` | `reader`

Constructor Summary
`Keyboard()`

Method Summary
`static boolean` | `endOfLine()`
`private static void` | `error(java.lang.String str)`
`static int` | `getErrorCount()`
`private static java.lang.String` | `getNextInputToken(boolean skip)`
`private static java.lang.String` | `getNextToken()`
`private static java.lang.String` | `getNextToken(boolean skip)`
`static boolean` | `getPrintErrors()`
`static boolean` | `readBoolean()`
`static char` | `readChar()`
`static double` | `readDouble()`
`static float` | `readFloat()`
`static int` | `readInt()`
`static long` | `readLong()`
`static java.lang.String` | `readString()`
`static java.lang.String` | `readWord()`
`static void` | `resetErrorCount(int count)`
`static void` | `setPrintErrors(boolean flag)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### current_token

    private static java.lang.String current_token

### errorCount

    private static int errorCount

### in

    private static java.io.BufferedReader in

### printErrors

    private static boolean printErrors

### reader

    private static java.util.StringTokenizer reader

Constructor Detail

### Keyboard

    public Keyboard()

Method Detail

### endOfLine

    public static boolean endOfLine()

### error

    private static void error(java.lang.String str)

### getErrorCount

    public static int getErrorCount()

### getNextInputToken

    private static java.lang.String getNextInputToken(boolean skip)

### getNextToken

    private static java.lang.String getNextToken()

### getNextToken

    private static java.lang.String getNextToken(boolean skip)

### getPrintErrors

    public static boolean getPrintErrors()

### readBoolean

    public static boolean readBoolean()

### readChar

    public static char readChar()

### readDouble

    public static double readDouble()

### readFloat

    public static float readFloat()

### readInt

    public static int readInt()

### readLong

    public static long readLong()

### readString

    public static java.lang.String readString()

### readWord

    public static java.lang.String readWord()

### resetErrorCount

    public static void resetErrorCount(int count)

### setPrintErrors

    public static void setPrintErrors(boolean flag)

Package | Class | Use | Tree | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD