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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidnewLine()voidprint(java.lang.String line)
-
-
-
Method Detail
-
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
-
-