Package org.moxie

Examples of org.moxie.Scope


   
    private void createDirectories(NewProject project, MaxmlMap map, Key key) {
      List<String> dirs = map.getStrings(key.name(), Arrays.asList(new String [0]));
      for (String scopedDir : dirs) {
        String s = scopedDir.substring(0, scopedDir.indexOf(' ')).trim();
        Scope scope = Scope.fromString(s);
        if (scope.isValidSourceScope()) {
          String folder = StringUtils.stripQuotes(scopedDir.substring(s.length() + 1).trim());
            File file = new File(project.dir, folder);
            file.mkdirs();
        } else {
          log("Illegal " + key.name() + " scope: " + s);
View Full Code Here

TOP

Related Classes of org.moxie.Scope

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.