ThirdPartyOutputStream.java 785 Bytes
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  org.slf4j.Logger
 */
package com.adobe.fd.jcifs.wrapper.internal.util;

import java.io.IOException;
import java.io.OutputStream;
import org.slf4j.Logger;

public class ThirdPartyOutputStream
extends OutputStream {
    private Logger logger;

    public ThirdPartyOutputStream(Logger logger) {
        this.logger = logger;
    }

    @Override
    public void write(int b) throws IOException {
        this.logger.debug("" + b + "");
    }

    @Override
    public void write(byte[] b, int off, int len) throws IOException {
        this.logger.debug(new String(b, off, len));
    }

    @Override
    public void write(byte[] b) throws IOException {
        this.logger.debug(new String(b));
    }
}