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
New IO « File Input Output « Java
Java
File Input Output
New IO
1.
Use a mapped file to read a text file
2.
FileChannel: map(FileChannel.MapMode mode,long position,long size)
3.
Write to a file using the new I/O
4.
Write to a mapped file
5.
Copy a file using NIO
6.
Write A String As Bytes
7.
Use New Java IO to write string into a file