de.hillenbrand.io
Class FileAccess
java.lang.Object
de.hillenbrand.io.FileAccess
public class FileAccess
- extends java.lang.Object
Provides easy access to files.
Field Summary |
static int |
READ
|
static int |
WRITE
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
READ
public static final int READ
- See Also:
- Constant Field Values
WRITE
public static final int WRITE
- See Also:
- Constant Field Values
FileAccess
public FileAccess(java.io.File f)
FileAccess
public FileAccess(java.lang.String s)
FileAccess
public FileAccess(java.io.File f,
int mode)
FileAccess
public FileAccess(java.lang.String s,
int mode)
close
public void close()
finalize
public void finalize()
throws java.lang.InterruptedException
- Overrides:
finalize
in class java.lang.Object
- Throws:
java.lang.InterruptedException
newLine
public void newLine()
throws java.io.IOException
- Throws:
java.io.IOException
readLine
public java.lang.String readLine()
throws java.io.IOException
- Throws:
java.io.IOException
readLine
public java.lang.String readLine(int number)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(boolean c)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(char c)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(double c)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(float c)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(int c)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(long c)
throws java.io.IOException
- Throws:
java.io.IOException
writeLine
public void writeLine(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
writeLine
public void writeLine(boolean c)
throws java.io.IOException
- Throws:
java.io.IOException
writeLine
public void writeLine(char c)
throws java.io.IOException
- Throws:
java.io.IOException
writeLine
public void writeLine(double c)
throws java.io.IOException
- Throws:
java.io.IOException
writeLine
public void writeLine(float c)
throws java.io.IOException
- Throws:
java.io.IOException
writeLine
public void writeLine(int c)
throws java.io.IOException
- Throws:
java.io.IOException
writeLine
public void writeLine(long c)
throws java.io.IOException
- Throws:
java.io.IOException