Package org.yaml.snakeyaml.emitter
Interface Emitable
-
- All Known Implementing Classes:
Emitter
public interface EmitableDefine a way to serialize an event to output stream
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidemit(Event event)Serialise event to bytes
-
-
-
Method Detail
-
emit
void emit(Event event) throws IOException
Serialise event to bytes- Parameters:
event- - the source- Throws:
IOException- if bytes bite
-
-