mirror of
https://github.com/AppleCommander/applesingle.git
synced 2024-06-15 06:29:31 +00:00
03095785d5
information.
17 lines
429 B
Java
17 lines
429 B
Java
package io.github.applecommander.applesingle.tools.asu;
|
|
|
|
import java.io.IOException;
|
|
import java.io.OutputStream;
|
|
|
|
/** An OutputStream that doesn't do output. */
|
|
public class NullOutputStream extends OutputStream {
|
|
public static final NullOutputStream INSTANCE = new NullOutputStream();
|
|
|
|
private NullOutputStream() { /* Prevent construction */ }
|
|
|
|
@Override
|
|
public void write(int b) throws IOException {
|
|
// Do Nothing
|
|
}
|
|
}
|