Code example for DataInputStream

Methods: readLine

0
	return (text == null) ? true : false;
    } 
 
    @SuppressWarnings("deprecation") 
    public String read() throws IOException {
	return dis.readLine();
    } 
 
    public void close() throws IOException { 
	dis.close();
    } 
}