EncodedData.java 1.1 KB
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.internal.pdftoolkit.core.util;

import com.adobe.internal.pdftoolkit.core.util.Encoding;

/*
 * This class specifies class file version 49.0 but uses Java 6 signatures.  Assumed Java 6.
 */
public class EncodedData<T> {
    private T encodedOutput;
    Encoding encoding;
    int encodedDataLength;

    public EncodedData(Encoding encoding, int encodedDataLength, T encodedOutput) {
        this.encodedDataLength = encodedDataLength;
        this.encoding = encoding;
        this.encodedOutput = encodedOutput;
    }

    public Encoding getEncoding() {
        return this.encoding;
    }

    public void setEncoding(Encoding encoding) {
        this.encoding = encoding;
    }

    public int getEncodedDataLength() {
        return this.encodedDataLength;
    }

    public void setEncodedDataLength(int encodedDataLength) {
        this.encodedDataLength = encodedDataLength;
    }

    public T getEncodedOutput() {
        return this.encodedOutput;
    }

    public void setEncodedOutput(T encodedOutput) {
        this.encodedOutput = encodedOutput;
    }
}