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

com.adobe.internal.io.NullOutputStream Maven / Gradle / Ivy

/**
 * 
 */
package com.adobe.internal.io;

import java.io.IOException;
import java.io.OutputStream;

/**
 * An OutputStream that eats all output.
 *
 */
public class NullOutputStream extends OutputStream
{
	/**
	 * Constructor.
	 */
	public NullOutputStream()
	{
	}

	/* (non-Javadoc)
	 * @see java.io.OutputStream#write(int)
	 */
	public void write(int b) throws IOException
	{
		// NOP
	}

	/* (non-Javadoc)
	 * @see java.io.OutputStream#write(byte[], int, int)
	 */
	public void write(byte[] b, int off, int len) throws IOException
	{
		// NOP
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy