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

com.g2forge.alexandria.command.stdio.StandardIO Maven / Gradle / Ivy

There is a newer version: 0.0.18
Show newest version
package com.g2forge.alexandria.command.stdio;

import java.io.InputStream;
import java.io.PrintStream;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
@AllArgsConstructor
public class StandardIO implements IStandardIO {
	public static final StandardIO of() {
		final StandardIO.StandardIOBuilder retVal = StandardIO.builder();
		retVal.standardInput(System.in);
		retVal.standardOutput(System.out);
		retVal.standardError(System.err);
		return retVal.build();
	}

	protected final I standardInput;

	protected final O standardOutput;

	protected final O standardError;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy