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

webit.script.resolvers.impl.ByteArrayOutResolver Maven / Gradle / Ivy

The newest version!
// Copyright (c) 2013, Webit Team. All Rights Reserved.
package webit.script.resolvers.impl;

import webit.script.io.Out;
import webit.script.resolvers.OutResolver;

/**
 *
 * @author zqq
 */
public class ByteArrayOutResolver implements OutResolver {

    public void render(Out out, Object bean) {
        out.write((byte[]) bean);
    }

    public Class getMatchClass() {
        return byte[].class;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy