Package org.omegat.util
Class TmxEscapingWriterFactory.EscapeWriter
java.lang.Object
java.io.Writer
org.omegat.util.TmxEscapingWriterFactory.EscapeWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
- Enclosing class:
- TmxEscapingWriterFactory
-
Constructor Details
-
EscapeWriter
-
-
Method Details
-
write
public void write(@NotNull @org.jetbrains.annotations.NotNull char[] cbuf, int off, int len) throws IOException Wrap Writer and escape characters for TEXT output.this does not consider it as an attribute value.
- Specified by:
writein classWriter- Parameters:
cbuf- Array of charactersoff- Offset from which to start writing characterslen- Number of characters to write- Throws:
IOException- when underlying writer object raises.
-
flush
- Specified by:
flushin interfaceFlushable- Specified by:
flushin classWriter- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-