public class IntelligentFileWriter extends Writer implements Appendable, Closeable, Flushable
| Constructor and Description |
|---|
IntelligentFileWriter(File file) |
IntelligentFileWriter(File file,
boolean append) |
IntelligentFileWriter(OutputStream outputStream) |
IntelligentFileWriter(String filename) |
IntelligentFileWriter(String filename,
boolean append) |
| Modifier and Type | Method and Description |
|---|---|
static void |
append(String filename,
String text) |
void |
close() |
void |
flush() |
static void |
save(File file,
String text) |
static void |
save(String filename,
String text) |
void |
write(char[] cbuf,
int off,
int len) |
static void |
write(OutputStream os,
String text) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, append, appendpublic IntelligentFileWriter(String filename) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic IntelligentFileWriter(String filename, boolean append) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic IntelligentFileWriter(OutputStream outputStream) throws IOException
IOExceptionpublic IntelligentFileWriter(File file) throws IOException
IOExceptionpublic IntelligentFileWriter(File file, boolean append) throws IOException
IOExceptionpublic static final void append(String filename, String text) throws Exception
Exceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class WriterIOExceptionpublic void write(char[] cbuf,
int off,
int len)
throws IOException
write in class WriterIOExceptionpublic static void write(OutputStream os, String text)
Copyright © 2015 Universal Java Matrix Package. All rights reserved.