Example usage for java.io Writer interface-usage

List of usage examples for java.io Writer interface-usage

Introduction

In this page you can find the example usage for java.io Writer interface-usage.

Usage

From source file de.bley.word.filewriter.WriterFile.java

/**
 *
 * Schreibt Daten in eine Textdatei.
 *
 * @author rbley
 */

From source file org.apache.metron.dataloads.nonbulk.flatfile.writer.LocalWriter.java

public class LocalWriter implements Writer {

    @Override
    public void validate(Optional<String> fileNameOptional, Configuration hadoopConfig) throws InvalidWriterOutput {
        if (!fileNameOptional.isPresent()) {
            throw new InvalidWriterOutput("Filename is not present.");

From source file org.apache.metron.dataloads.nonbulk.flatfile.writer.HDFSWriter.java

public class HDFSWriter implements Writer {
    @Override
    public void validate(Optional<String> fileNameOptional, Configuration hadoopConfig) throws InvalidWriterOutput {
        if (!fileNameOptional.isPresent()) {
            throw new InvalidWriterOutput("Filename is not present.");
        }

From source file org.localmatters.serializer.writer.AbstractWriter.java

/**
 * This class defines a common functionalities between serializers
 */
public abstract class AbstractWriter implements Writer {

    /**

From source file com.apkcategorychecker.writer.WriterCSV.java

/**
 * This class writes the results in a CSV file
 *
 * @author Gabriele Martini
 */
public class WriterCSV implements Writer {

From source file org.wso2.carbon.mediator.datamapper.engine.output.writers.JSONWriter.java

/**
 * This class implements {@link Writer} interface and json writer for data mapper engine using
 * Jackson
 */
public class JSONWriter implements Writer {

From source file org.wso2.carbon.mediator.datamapper.engine.output.writers.XMLWriter.java

/**
 * This class implements {@link Writer} interface and xml writer for data mapper engine using StAX
 */
public class XMLWriter implements Writer {

    private static final Log log = LogFactory.getLog(XMLWriter.class);

From source file org.apache.tajo.storage.thirdparty.orc.WriterImpl.java

/**
 * An ORC file writer. The file is divided into stripes, which is the natural
 * unit of work when reading. Each stripe is buffered in memory until the
 * memory reaches the stripe size and then it is written out broken down by
 * columns. Each column is written by a TreeWriter that is specific to that
 * type of column. TreeWriters may have children TreeWriters that handle the

From source file com.facebook.hive.orc.WriterImpl.java

/**
 * An ORC file writer. The file is divided into stripes, which is the natural
 * unit of work when reading. Each stripe is buffered in memory until the
 * memory reaches the stripe size and then it is written out broken down by
 * columns. Each column is written by a TreeWriter that is specific to that
 * type of column. TreeWriters may have children TreeWriters that handle the

From source file com.blm.orc.WriterImpl.java

/**
 * An ORC file writer. The file is divided into stripes, which is the natural
 * unit of work when reading. Each stripe is buffered in memory until the
 * memory reaches the stripe size and then it is written out broken down by
 * columns. Each column is written by a TreeWriter that is specific to that
 * type of column. TreeWriters may have children TreeWriters that handle the