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
IOExceptionprotected BufferedWriter getWriter() throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionprotected void finalize()
throws Throwable
public void println(String line) throws IOException
IOExceptionpublic void print(String line) throws IOException
IOExceptionpublic static void main(String[] args) throws IOException
IOExceptionpublic File getFile()
public boolean isAutoFlush()
public void setAutoFlush(boolean autoFlush)
Copyright © 2012-2018. All Rights Reserved.