Package com.data2semantics.yasgui.mgwtlinker.linker

Examples of com.data2semantics.yasgui.mgwtlinker.linker.XMLPermutationProvider


  private XMLPermutationProvider permutationProvider;

  private Map<String, PropertyProvider> propertyProviders = new HashMap<String, PropertyProvider>();

  public Html5ManifestServletBase() {
    permutationProvider = new XMLPermutationProvider();

  }
View Full Code Here


  }


  public Set<String> getFilesForPermutation(String baseUrl, String moduleName, String permutation) throws ServletException {
    String fileName = baseUrl + moduleName + "/" + permutation + PermutationMapLinker.PERMUTATION_FILE_ENDING;
    XMLPermutationProvider xmlPermutationProvider = new XMLPermutationProvider();

    InputStream inputStream = null;
    try {
      File file = new File(getServletContext().getRealPath(fileName));
      inputStream = new FileInputStream(file);
      return xmlPermutationProvider.getPermutationFiles(inputStream);
    } catch (XMLPermutationProviderException e) {
      log("can not read permutation file");
      throw new ServletException("can not read permutation file", e);
    } catch (FileNotFoundException e) {
      log("can not read permutation file");
View Full Code Here

TOP

Related Classes of com.data2semantics.yasgui.mgwtlinker.linker.XMLPermutationProvider

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.