Package ca.simplegames.micro.helpers

Examples of ca.simplegames.micro.helpers.HelperWrapper


        File helpersDirectory = new File(configPath, "helpers");
        helperManager = new HelperManager();
        if (helpersDirectory.exists() && helpersDirectory.isDirectory()) {
          for (File file : files(helpersDirectory, ".yml")) {
            Map<String, Object> yaml = (Map<String, Object>) new Yaml().load(new FileInputStream(file));
            HelperWrapper helper = helperManager.addHelper(PathUtilities.extractName(file), yaml);
            //log.info(String.format("  %s: %s", helper.getName(), file.getAbsolutePath()));
          }
        }

        // - Routes
View Full Code Here

TOP

Related Classes of ca.simplegames.micro.helpers.HelperWrapper

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.