Home
Java
2D Graphics GUI
3D
Advanced Graphics
Ant
Apache Common
Chart
Class
Collections Data Structure
Data Type
Database SQL JDBC
Design Pattern
Development Class
EJB3
Email
Event
File Input Output
Game
Generics
GWT
Hibernate
I18N
J2EE
J2ME
JavaFX
JDK 6
JDK 7
JNDI LDAP
JPA
JSP
JSTL
Language Basics
Network Protocol
PDF RTF
Reflection
Regular Expressions
Scripting
Security
Servlets
Spring
Swing Components
Swing JFC
SWT JFace Eclipse
Threads
Tiny Application
Velocity
Web Services SOA
XML
Menu
DataInputStream « File Input Output « Java
Java
File Input Output
DataInputStream
1.
new DataInputStream(new BufferedInputStream(new FileInputStream()))
2.
Create DataInputStream from FileInputStream and read different types of data
3.
Read short type of data with DataInputStream
4.
Read different data types from DataInputStream
5.
Read boolean from file using DataInputStream
6.
Read byte array from file using DataInputStream
7.
Read byte from file using DataInputStream
8.
Read char from file using DataInputStream
9.
Read double from file using DataInputStream
10.
Read float from file using DataInputStream
11.
Read int from file using DataInputStream
12.
Read long from file using DataInputStream
13.
Read short from file using DataInputStream
14.
Read unsigned byte from file using DataInputStream
15.
Use DataInputStream to create double
16.
Check the class version
17.
DataOutputStream and DataInputStream: read and write by data types