Package org.xmlvm.util.universalfile

Examples of org.xmlvm.util.universalfile.UniversalFileFilter


      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


   */
  public TypeHierarchy analyze()
  {
    // Extract all class files.
    UniversalFile library= UniversalFileCreator.createDirectory(null, libraryPath);
    UniversalFile[] classes= library.listFilesRecursively(new UniversalFileFilter()
    {

      public boolean accept(UniversalFile file)
      {
        return file.getName().toLowerCase().endsWith(".class");
View Full Code Here

    {
      // If there is no stored result, we nee to analyze the classes
      // first.
      // First the class files are loaded.
      UniversalFile library= UniversalFileCreator.createDirectory(null, jdkFileName);
      UniversalFile[] classes= library.listFilesRecursively(new UniversalFileFilter()
      {

        public boolean accept(UniversalFile file)
        {
          return file.getName().toLowerCase().endsWith(".class");
View Full Code Here

TOP

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

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.