public class MLLPOutputStream extends FilterOutputStream
| Modifier and Type | Field and Description |
|---|---|
private static byte[] |
EOM |
private static int |
SOM |
private boolean |
somWritten |
out| Constructor and Description |
|---|
MLLPOutputStream(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
finish() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
void |
writeMessage(byte[] b) |
void |
writeMessage(byte[] b,
int off,
int len) |
private void |
writeStartBlock() |
close, flush, writeprivate static final int SOM
private static final byte[] EOM
private boolean somWritten
public MLLPOutputStream(OutputStream out)
public void write(int b) throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] b, int off, int len) throws IOException
write in class FilterOutputStreamIOExceptionpublic void writeMessage(byte[] b) throws IOException
IOExceptionpublic void writeMessage(byte[] b, int off, int len) throws IOException
IOExceptionprivate void writeStartBlock() throws IOException
IOExceptionpublic void finish() throws IOException
IOExceptionCopyright © 2017 dcm4che.org. All rights reserved.