public class MibWriter
extends java.lang.Object
| Constructor and Description |
|---|
MibWriter(java.io.OutputStream os)
Creates a new MIB writer.
|
MibWriter(java.io.Writer os)
Creates a new MIB writer without any print margin.
|
MibWriter(java.io.Writer os,
int margin)
Creates a new MIB writer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the underlying output stream.
|
void |
print(Mib mib)
Prints the specified MIB.
|
public MibWriter(java.io.OutputStream os)
os - the underlying output stream to usepublic MibWriter(java.io.Writer os)
os - the underlying writer to usepublic MibWriter(java.io.Writer os,
int margin)
os - the underlying writer to usemargin - the print margin, or zero (0) for nonepublic void close()
public void print(Mib mib)
mib - the MIB to print