Package org.apache.flex.forks.velocity.runtime.configuration

Examples of org.apache.flex.forks.velocity.runtime.configuration.Configuration$PropertiesTokenizer


    {
        try
        {
            assureResultsDirectoryExists(RESULTS_DIR);
           
            Configuration c = new Configuration(TEST_CONFIG);
           
            FileWriter result = new FileWriter(
                getFileName(RESULTS_DIR, "output", "res"));
           
            message(result, "Testing order of keys ...");
            showIterator(result, c.getKeys());
           
            message(result, "Testing retrieval of CSV values ...");
            showVector(result, c.getVector("resource.loader"));           

            message(result, "Testing subset(prefix).getKeys() ...");
            Configuration subset = c.subset("file.resource.loader");
            showIterator(result, subset.getKeys());

            message(result, "Testing getVector(prefix) ...");
            showVector(result, subset.getVector("path"));           

            message(result, "Testing getString(key) ...");
            result.write(c.getString("config.string.value"));
            result.write("\n\n");
View Full Code Here

TOP

Related Classes of org.apache.flex.forks.velocity.runtime.configuration.Configuration$PropertiesTokenizer

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.