Thanks to visit codestin.com
Credit goes to www.java2s.com
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
StringReader « File Input Output « Java
Java
File Input Output
StringReader
1.
Using the StringReader class
2.
Read InputStream to string
3.
Read string from InputStream and Reader
4.
Reads data off a stream, printing every byte read to System.err
5.
Reads file contents
6.
Reads from an underlying InputStream up to a defined number of bytes or the end of the underlying stream