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

com.github.sebhoss.doxia.TextileSinkFactory Maven / Gradle / Ivy

The newest version!
/*
 * Copyright © 2012 Sebastian Hoß 
 * This work is free. You can redistribute it and/or modify it under the
 * terms of the Do What The Fuck You Want To Public License, Version 2,
 * as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
 */
package com.github.sebhoss.doxia;

import java.io.Writer;

import org.apache.maven.doxia.sink.AbstractTextSinkFactory;
import org.apache.maven.doxia.sink.Sink;

/**
 * Textile implementation of the Sink factory.
 */
public class TextileSinkFactory extends AbstractTextSinkFactory {

    @Override
    protected Sink createSink(final Writer writer, final String encoding) {
        return new TextileSink(writer);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy