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

wniemiec.io.java.InputTerminal Maven / Gradle / Ivy

The newest version!
/**
 * Copyright (c) William Niemiec.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

package wniemiec.io.java;

import java.io.IOException;


/**
 * Responsible for handling terminal input.
 */
public interface InputTerminal {

    /**
     * Run commands in terminal.
     * 
     * @param       commands Terminal commands
     * 
     * @throws      IOException If terminal cannot be executed
     */
    void exec(String... commands) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy