net.sourceforge.yamlbeans.emitter
Class Emitter
java.lang.Object
net.sourceforge.yamlbeans.emitter.Emitter
public class Emitter
- extends java.lang.Object
Converts events into YAML output.
Method Summary |
void |
close()
|
void |
emit(Event event)
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Emitter
public Emitter(java.io.Writer writer)
Emitter
public Emitter(java.io.Writer writer,
EmitterConfig config)
emit
public void emit(Event event)
throws java.io.IOException,
EmitterException
- Throws:
java.io.IOException
EmitterException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
main
public static void main(java.lang.String[] args)
throws java.io.IOException
- Throws:
java.io.IOException