@Contract(threading=IMMUTABLE)
public class Wire
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
id |
private org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
Wire(org.apache.commons.logging.Log log) |
Wire(org.apache.commons.logging.Log log,
java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
enabled() |
void |
input(byte[] b) |
void |
input(byte[] b,
int off,
int len) |
void |
input(java.io.InputStream instream) |
void |
input(int b) |
void |
input(java.lang.String s) |
void |
output(byte[] b) |
void |
output(byte[] b,
int off,
int len) |
void |
output(java.io.InputStream outstream) |
void |
output(int b) |
void |
output(java.lang.String s) |
private void |
wire(java.lang.String header,
java.io.InputStream instream) |
private final org.apache.commons.logging.Log log
private final java.lang.String id
public Wire(org.apache.commons.logging.Log log,
java.lang.String id)
public Wire(org.apache.commons.logging.Log log)
private void wire(java.lang.String header,
java.io.InputStream instream)
throws java.io.IOException
java.io.IOExceptionpublic boolean enabled()
public void output(java.io.InputStream outstream)
throws java.io.IOException
java.io.IOExceptionpublic void input(java.io.InputStream instream)
throws java.io.IOException
java.io.IOExceptionpublic void output(byte[] b,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionpublic void input(byte[] b,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionpublic void output(byte[] b)
throws java.io.IOException
java.io.IOExceptionpublic void input(byte[] b)
throws java.io.IOException
java.io.IOExceptionpublic void output(int b)
throws java.io.IOException
java.io.IOExceptionpublic void input(int b)
throws java.io.IOException
java.io.IOExceptionpublic void output(java.lang.String s)
throws java.io.IOException
java.io.IOExceptionpublic void input(java.lang.String s)
throws java.io.IOException
java.io.IOException