All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Global.MyInput

java.lang.Object
   |
   +----Global.MyInput

public class MyInput
extends Object
Description:This is the MyInput Class for Input The Sting and Integer
It contains all Static Methods

Version:
1.0
Author:
Vicky Shiv

Variable Index

 o MyDataInputStream
Variable for the DataInputStream to input the Data

Constructor Index

 o MyInput()

Method Index

 o getInt()
Static Function for integer input
 o getString()
Static Function for String input

Variables

 o MyDataInputStream
 public static DataInputStream MyDataInputStream
Variable for the DataInputStream to input the Data

Constructors

 o MyInput
 public MyInput()

Methods

 o getInt
 public static int getInt()
Static Function for integer input

Returns:
integer
Throws: IOException
throws this exception if unable to read from the input stream
Throws: NumberFormatException
throws this exception if the data input is not an integer.
 o getString
 public static String getString()
Static Function for String input

Returns:
String
Throws: IOException
throws this exception if unable to read from the input stream

All Packages  Class Hierarchy  This Package  Previous  Next  Index
1