Package org.xmlvm.util.universalfile

Examples of org.xmlvm.util.universalfile.FileSuffixFilter


  public List<XmlvmResource> loadMonolithicLibraries()
  {
    List<XmlvmResource> result= new ArrayList<XmlvmResource>();
    for (UniversalFile library : libs.getMonolithicLibraryFiles())
    {
      for (UniversalFile file : library.listFilesRecursively(new FileSuffixFilter(".class")))
      {
        XmlvmResource resource= processClassFile(file, true);
        if (resource != null)
        {
          result.add(resource);
View Full Code Here


      Log.debug(TAG, "Proxies not loaded, therefore there will be no proxy replacement");
      return result;
    }

    final String classEnding= ".class";
    UniversalFileFilter classFilter= new FileSuffixFilter(classEnding);
    for (UniversalFile proxyFile : basePath.listFilesRecursively(classFilter))
    {
      String proxyFileName= proxyFile.getRelativePath(basePath.getAbsolutePath());
      String proxyTypeName= proxyFileName.substring(0, proxyFileName.length() - (classEnding.length())).replace(File.separatorChar, '.');
      result.put(proxyTypeName, proxyFile);
View Full Code Here

TOP

Related Classes of org.xmlvm.util.universalfile.FileSuffixFilter

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.