Package com.volantis.mcs.policies.variants.script

Examples of com.volantis.mcs.policies.variants.script.ScriptEncoding


        ScriptAsset asset = new ScriptAsset();

        setAssetIdentity(policy, asset);

        final ScriptEncoding scriptEncoding = metaData.getScriptEncoding();
        if (scriptEncoding != null) {
            asset.setProgrammingLanguage((String) ENCODING.get(scriptEncoding));
            // use the first mime type if there is any
            final Iterator iter = scriptEncoding.mimeTypes();
            if (iter.hasNext()) {
                asset.setMimeType((String) iter.next());
            }
        }
        asset.setCharacterSet(metaData.getCharacterSet());
View Full Code Here

TOP

Related Classes of com.volantis.mcs.policies.variants.script.ScriptEncoding

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.