public class AppendableTextFile extends Object implements Closeable
Constructor and Description |
---|
AppendableTextFile(File file) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
File |
getFile() |
protected BufferedWriter |
getWriter() |
boolean |
isAutoFlush() |
static void |
main(String[] args) |
void |
print(String line) |
void |
println(String line) |
void |
setAutoFlush(boolean autoFlush) |
public AppendableTextFile(File file) throws IOException
IOException
protected BufferedWriter getWriter() throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
protected void finalize() throws Throwable
public void println(String line) throws IOException
IOException
public void print(String line) throws IOException
IOException
public static void main(String[] args) throws IOException
IOException
public File getFile()
public boolean isAutoFlush()
public void setAutoFlush(boolean autoFlush)
Copyright © 2012-2018. All Rights Reserved.