@@ -0,0 +1,821 @@
+package com.github.aureliano.damihilogs.executor.writer;%0A%0Aimport org.apache.log4j.Logger;%0A%0Aimport com.github.aureliano.damihilogs.formatter.PlainTextFormatter;%0A%0Apublic class TwitterDataWriter extends AbstractDataWriter %7B%0A%0A%09private static final Logger logger = Logger.getLogger(TwitterDataWriter.class);%0A%0A%09public TwitterDataWriter() %7B%0A%09%09super();%0A%09%7D%0A%0A%09@Override%0A%09public void initializeResources() %7B%0A%09%09logger.info(%22Open Twitter API Stream writer.%22);%0A%09%09this.initialize();%0A%09%7D%0A%0A%09@Override%0A%09public void finalizeResources() %7B%0A%09%09logger.debug(%22 %3E%3E%3E Flushing and closing Twitter API Stream writer.%22);%0A%09%7D%0A%0A%09@Override%0A%09public void write(Object data) %7B%0A%09%09%0A%09%7D%0A%0A%09private void initialize() %7B%0A%09%09if (super.getConfiguration().getOutputFormatter() == null) %7B%0A%09%09%09super.getConfiguration().withOutputFormatter(new PlainTextFormatter());%0A%09%09%7D%0A%09%7D%0A%7D

Create Twitter data writer.