Package org.teavm.platform.metadata

Examples of org.teavm.platform.metadata.StringResource


* @author Alexey Andreev
*/
public class DefaultLocaleMetadataGenerator implements MetadataGenerator {
    @Override
    public Resource generateMetadata(MetadataGeneratorContext context, MethodReference method) {
        StringResource result = context.createResource(StringResource.class);
        result.setValue(context.getProperties().getProperty("java.util.Locale.default", "en_EN"));
        return result;
    }
View Full Code Here

TOP

Related Classes of org.teavm.platform.metadata.StringResource

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.