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

org.yestech.publish.service.NoOpPublishProducer Maven / Gradle / Ivy

/*
 * Copyright LGPL3
 * YES Technology Association
 * http://yestech.org
 *
 * http://www.opensource.org/licenses/lgpl-3.0.html
 */

/*
 *
 * Author:  Artie Copeland
 * Last Modified Date: $DateTime: $
 */
package org.yestech.publish.service;

import org.yestech.publish.objectmodel.IArtifactMetaData;
import org.yestech.publish.objectmodel.IArtifact;
import org.yestech.publish.objectmodel.IFileArtifact;
import org.apache.commons.io.IOUtils;

import java.io.File;
import java.io.InputStream;
import java.net.URL;

/**
 * Doesnt do anything but close the {@link java.io.InputStream}
 *
 * @author Artie Copeland
 * @version $Revision: $
 */
public class NoOpPublishProducer implements IPublishProducer {
    private String url;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public void send(IArtifact artifact) {
        //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public void send(IFileArtifact artifact) {
        //To change body of implemented methods use File | Settings | File Templates.
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy