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

com.rabbitmq.jms.util.DiscardingObjectOutput Maven / Gradle / Ivy

There is a newer version: 3.4.0
Show newest version
/* Copyright (c) 2013 Pivotal Software, Inc. All rights reserved. */
package com.rabbitmq.jms.util;

import java.io.IOException;
import java.io.ObjectOutput;

/**
 * Simple implementation of an {@link ObjectOutput} interface that accepts and discards all output.
 */
public class DiscardingObjectOutput implements ObjectOutput {

    public void writeBoolean(boolean paramBoolean) throws IOException {
    }

    public void writeByte(int paramInt) throws IOException {
    }

    public void writeShort(int paramInt) throws IOException {
    }

    public void writeChar(int paramInt) throws IOException {
    }

    public void writeInt(int paramInt) throws IOException {
    }

    public void writeLong(long paramLong) throws IOException {
    }

    public void writeFloat(float paramFloat) throws IOException {
    }

    public void writeDouble(double paramDouble) throws IOException {
    }

    public void writeBytes(String paramString) throws IOException {
    }

    public void writeChars(String paramString) throws IOException {
    }

    public void writeUTF(String paramString) throws IOException {
    }

    public void writeObject(Object paramObject) throws IOException {
    }

    public void write(int paramInt) throws IOException {
    }

    public void write(byte[] paramArrayOfByte) throws IOException {
    }

    public void write(byte[] paramArrayOfByte, int paramInt1, int paramInt2) throws IOException {
    }

    public void flush() throws IOException {
    }

    public void close() throws IOException {
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy