Package org.jusecase.jte.output
Class Utf8ArrayOutput
- java.lang.Object
-
- org.jusecase.jte.output.Utf8ArrayOutput
-
- All Implemented Interfaces:
TemplateOutput
public final class Utf8ArrayOutput extends Object implements TemplateOutput
-
-
Constructor Summary
Constructors Constructor Description Utf8ArrayOutput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetContentLength()voidwriteContent(String value)voidwriteStaticContent(String value, byte[] bytes)voidwriteTo(OutputStream outputStream)-
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, writeSafe, writeUnsafe, writeUnsafe, writeUnsafe, writeUnsafe, writeUnsafe, writeUnsafe, writeUnsafe, writeUnsafe, writeUnsafe, writeUserContent
-
-
-
-
Method Detail
-
getContentLength
public int getContentLength()
-
writeTo
public void writeTo(OutputStream outputStream) throws IOException
- Throws:
IOException
-
writeStaticContent
public void writeStaticContent(String value, byte[] bytes)
- Specified by:
writeStaticContentin interfaceTemplateOutput
-
writeContent
public void writeContent(String value)
- Specified by:
writeContentin interfaceTemplateOutput
-
-