All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.aequologica.neo.shakuntala.AbstractEventWriter Maven / Gradle / Ivy

There is a newer version: 0.6.7
Show newest version
package net.aequologica.neo.shakuntala;

import java.io.IOException;

public abstract class AbstractEventWriter implements EventWriter {

    @Override
    public void init() throws IOException {
        write("init", "init", null, null);
    }

    @Override
    public void write(final String key, final String value, final Event.Level level, final Object object) throws IOException {
        write(new Event(key, value, level, object));
    }

    @Override
    public void close() throws IOException {
        write("close", "close", null, null);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy