public class BinaryOutPort extends OutPort
| Modifier and Type | Class and Description |
|---|---|
static class |
BinaryOutPort.OutputStreamWriterLatin1
Like an OutputStreamWriter, but optimized for Latin1.
|
bout, errLocation, objectFormat, outLocation, printReadable, unregisterRef| Constructor and Description |
|---|
BinaryOutPort(java.io.OutputStream strm,
Path path) |
| Modifier and Type | Method and Description |
|---|---|
static java.io.OutputStream |
asOutputStream(java.lang.Object obj) |
int |
getColumnNumber()
Get zero-based column number or -1 for unknown.
|
java.io.OutputStream |
getOutputStream() |
static BinaryOutPort |
openFile(java.lang.Object fname) |
void |
writeByte(int b) |
void |
writeBytes(byte[] buf,
int off,
int len) |
clearBuffer, close, closeLogFile, closeOnExit, closeThis, echo, endAttribute, endElement, endLogicalBlock, errDefault, finalize, freshLine, getPrettyWriter, isOpen, isWordChar, openFile, outDefault, print, print, print, print, print, print, print, print, runCleanups, setColumnNumber, setErrDefault, setIndentation, setLogFile, setOutDefault, startAttribute, startElement, startLogicalBlock, startLogicalBlock, writeBreak, writeBreakFill, writeBreakLinear, writeSpaceFill, writeSpaceLinear, writeWordEnd, writeWordStartappend, append, append, endDocument, endNumber, ignoring, startDocument, startNumber, write, writeBoolean, writeDouble, writeFloat, writeInt, writeLong, writeObjectcheckError, clearError, flush, format, format, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, writepublic BinaryOutPort(java.io.OutputStream strm,
Path path)
public java.io.OutputStream getOutputStream()
public static BinaryOutPort openFile(java.lang.Object fname) throws java.io.IOException
java.io.IOExceptionpublic void writeBytes(byte[] buf,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionpublic void writeByte(int b)
throws java.io.IOException
java.io.IOExceptionpublic static java.io.OutputStream asOutputStream(java.lang.Object obj)
public int getColumnNumber()
OutPortgetColumnNumber in class OutPort