/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.common.mime.PartInfo
 */
package com.l7tech.server.policy.assertion;

import com.l7tech.common.mime.PartInfo;
import com.l7tech.server.policy.assertion.ServerRegex;
import com.l7tech.server.policy.assertion.aj;
import java.io.IOException;
import java.nio.charset.Charset;

class ag
implements aj {
    final PartInfo val$part;
    final Charset val$encoding;

    /*
     * Ignored method signature, as it can't be verified against descriptor
     */
    ag(ServerRegex serverRegex, PartInfo partInfo, Charset charset) {
        this.val$part = partInfo;
        this.val$encoding = charset;
    }

    @Override
    public void setOutput(CharSequence charSequence) throws IOException {
        this.val$part.setBodyBytes(charSequence.toString().getBytes(this.val$encoding));
    }
}

