
it.netgrid.bauer.impl.impl.PosixStreamsProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bauer-stream Show documentation
Show all versions of bauer-stream Show documentation
A Bauer binder supporting POSIX STDIN as events inbound and STOUT as events outbound.
package it.netgrid.bauer.impl.impl;
import java.io.InputStream;
import java.io.OutputStream;
import it.netgrid.bauer.impl.StreamsProvider;
public class PosixStreamsProvider implements StreamsProvider {
@Override
public synchronized InputStream input() {
return System.in;
}
@Override
public synchronized OutputStream output() {
return System.out;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy