
com.anrisoftware.globalpom.exec.pipeoutputs.PipeCommandInputFactory Maven / Gradle / Ivy
/*
* Copyright 2014-2015 Erwin Müller
*
* This file is part of globalpomutils-exec.
*
* globalpomutils-exec is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* globalpomutils-exec is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with globalpomutils-exec. If not, see .
*/
package com.anrisoftware.globalpom.exec.pipeoutputs;
import java.io.InputStream;
/**
* Factory to create the pipe input.
*
* @author Erwin Mueller, [email protected]
* @since 1.11
*/
public interface PipeCommandInputFactory {
/**
* Creates the pipe input that reads the specified stream to the standard
* input of the command.
*
* @param stream
* the {@link InputStream}.
*
* @return the {@link PipeCommandInput}.
*/
PipeCommandInput create(InputStream stream);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy