Package org.jusecase.jte.output
Class Utf8FileOutput
- java.lang.Object
-
- org.jusecase.jte.output.Utf8FileOutput
-
- All Implemented Interfaces:
Closeable,AutoCloseable,TemplateOutput
public final class Utf8FileOutput extends Object implements TemplateOutput, Closeable
-
-
Constructor Summary
Constructors Constructor Description Utf8FileOutput(Path file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidwriteSafeContent(String value)voidwriteStaticContent(String value, byte[] bytes)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jusecase.jte.TemplateOutput
writeSafe, writeSafe, writeSafe, writeSafe, writeSafe, writeSafe, writeSafe, writeSafe, writeUnsafe, writeUnsafe, writeUnsafe, writeUnsafe, writeUnsafe, writeUnsafe, writeUnsafe, writeUnsafe, writeUnsafeContent
-
-
-
-
Constructor Detail
-
Utf8FileOutput
public Utf8FileOutput(Path file) throws IOException
- Throws:
IOException
-
-
Method Detail
-
writeSafeContent
public void writeSafeContent(String value)
- Specified by:
writeSafeContentin interfaceTemplateOutput
-
writeStaticContent
public void writeStaticContent(String value, byte[] bytes)
- Specified by:
writeStaticContentin interfaceTemplateOutput
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-