[To advertise Java(tm) Events here, contact joris@esus.com!]
Java™
by example!
Login
Login here
Become a member
only $14.95/year!
New @ Esus.com
In-house
search engine
for better results!
Get updates with the esus.com
newsletter
!
Home
Browse Categories
Ask a Java Question
Help
For Java Tips & Tricks, subscribe to the
esus.com newsletter!
Search Java Q&A, Links, API's:
adv
Index
:
Java 2 Standard Edition (J2SE)
:
Java 2 JDK
:
Input/Output (java.io.*)
Become a member to observe this category
Files / Directories
This category shows you how to work with files and directories. For libraries about particular filetypes, check out the subcategory.
Subcategories
Filetypes
Questions & Answers
= answered,
= unanswered
General:
How do I read data from a text file?
How do I write data to a text file?
How do I append data to a text file?
How do I read and write files with an applet?
How do I read a file that contains numbers?
How do I read a binary file into a byte array?
How do I create and remove a directory?
How can I tell how much free space is on a disk?
How do I list the contents of a directory?
How do I use filters when listing the contents of a directory?
How do I use a random access file?
How do I get information of a file?
How do I rename and delete a file?
How do I copy a file?
How do I close a file?
How do I detect EOF?
How do I set permissions on a file or directory?
How do I get the current working directory?
How do I change the current working directory?
How do I read in a complex text file?
How do I format a disk using Java?
How do I determine if a file is hidden?
How do I get the last-modified date of a file?
How do I list the available system roots?
How do I make a file read-only?
How do I create a temporary file?
How do I write a String to a file?
How do I count the number of lines in a file?
What is the difference between getAbsolutePath and getCanonicalPath?
How do I determine if a pathname is absolute?
How do I get the system-dependent character that separates directories?
Further Information (sorted alphabetically)
Api's:
Class java.io.File (1.2)
Class java.io.FileDescriptor (1.2)
Class java.io.FileInputStream (1.2)
Class java.io.FileOutputStream (1.2)
Class java.io.FilePermission (1.2)
Class java.io.FilterReader (1.2)
Class java.io.FilterWriter (1.2)
Articles:
Enable Cross-platform File Locking with a Lock Server
Related Links:
JDC Tech Tip: Converting Pathnames to URLs
JDC Tech Tip: Random Access for Files
JDC Tech Tip: Setting File Modification Times
JDC Tech Tip: Walking Accross File Systems
Opening and reading files with JDK 1.1.x
Opening and reading files with Java JDK 1.0.x
Terms of Service
|
Privacy Policy
|
Contact
Copyright © 2000-2003 Esus.com - All Rights Reserved
Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. Esus.com is independent of Sun Microsystems, Inc. All other trademarks are the sole property of their respective owners.