Class TextFileWriter
java.lang.Object
com.scriptbasic.utility.functions.file.TextFileWriter
- All Implemented Interfaces:
NoAccess,FileHandler,java.lang.AutoCloseable
public class TextFileWriter extends java.lang.Object implements FileHandler, java.lang.AutoCloseable
-
Constructor Summary
Constructors Constructor Description TextFileWriter(java.io.BufferedWriter bw) -
Method Summary
-
Constructor Details
-
TextFileWriter
public TextFileWriter(java.io.BufferedWriter bw)
-
-
Method Details
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfaceFileHandler- Throws:
java.io.IOException
-
print
public void print(java.lang.String line) throws java.io.IOException- Throws:
java.io.IOException
-
newLine
public void newLine() throws java.io.IOException- Throws:
java.io.IOException
-