Examples of scan()


Examples of org.asciidoctor.GlobDirectoryWalker.scan()

        List<File> filesToBeRendered = new ArrayList<File>();

        for (String globExpression : parameters) {
            DirectoryWalker globDirectoryWalker = new GlobDirectoryWalker(".",
                    globExpression);
            filesToBeRendered.addAll(globDirectoryWalker.scan());
        }

        return filesToBeRendered;

    }
View Full Code Here

Examples of org.auto.io.scanner.ClassPathResourceScanner.scan()

  }

  public static void testClassPathResourceScanner() {
    ClassPathResourceScanner scanner = new ClassPathResourceScanner();

    scanner.scan("org/apache/commons/logging/LogFactory.class",
        new ResourceHandler() {

          @Override
          public void handle(Resource t) {
            t.getInputStream();
View Full Code Here

Examples of org.auto.io.scanner.DefaultFilePatternScanner.scan()

        resource.getInputStream();
        count++;

      }
    };
    scanner.scan("F:/download/ckeditor_3.5.2.zip \r\n", handler);
    System.out.println("count" + count);
  }

  public static void testClassPathResourceScanner() {
    ClassPathResourceScanner scanner = new ClassPathResourceScanner();
View Full Code Here

Examples of org.caffinitas.mapper.core.scan.DataModelScanner.scan()

    {

        DataModelScanner modelScanner = new DataModelScanner();
        modelScanner.withCaffinitasPersistenceXml();
        modelScanner.getFilterBuilder().includePackage(Demo.class.getPackage().getName());
        DataModel model = modelScanner.scan();

        PersistenceManager persistenceManager = PersistenceManagerBuilder.newBuilder().
            withModel(model).
            withCluster(cluster).
            withDefaultKeyspace("default_ks").
View Full Code Here

Examples of org.codehaus.plexus.util.DirectoryScanner.scan()

        scanner.setBasedir(bindingdir);
        String[] includes = (String[]) includeFiles.toArray(new String[includeFiles.size()]);
        scanner.setIncludes(includes);
        String[] excludes = (String[]) excludeFiles.toArray(new String[excludeFiles.size()]);
        scanner.setExcludes(excludes);
        scanner.scan();

        String[] files = scanner.getIncludedFiles();
        String absolutePath = bindingdir.getAbsolutePath();
        for (int i = 0; i < files.length; i++) {
            String file = absolutePath + File.separator + files[i];
View Full Code Here

Examples of org.codehaus.plexus.util.DirectoryWalker.scan()

        inProgressScans.add( scannerInstance );

        dirWalker.addDirectoryWalkListener( scannerInstance );

        // Execute scan.
        dirWalker.scan();

        RepositoryScanStatistics stats = scannerInstance.getStatistics();

        stats.setKnownConsumers( gatherIds( knownContentConsumers ) );
        stats.setInvalidConsumers( gatherIds( invalidContentConsumers ) );
View Full Code Here

Examples of org.codehaus.plexus.util.Scanner.scan()

                scanner.setExcludes( excludes );
            }
            scanner.addDefaultExcludes();
            scanner.setIncludes( includes );

            scanner.scan();

            for ( final String fileName : scanner.getIncludedFiles() ) {
                files.add( new Source() {

                    public File getFile() {
View Full Code Here

Examples of org.directwebremoting.spring.DwrClassPathBeanDefinitionScanner.scan()

        {
            scanner.addIncludeFilter(new AnnotationTypeFilter(GlobalFilter.class));
        }
        if (scanProxies | scanConverters | scanFilters)
        {
            scanner.scan(basePackage == null ? "" : basePackage);
        }
        else
        {
            log.warn("Scan is not required if all @RemoteProxy, @DataTransferObject and @GlobalFilter are disabled. Skipping detection");
        }
View Full Code Here

Examples of org.eclipse.jetty.webapp.JarScanner.scan()

                }
            }

        };

        scanner.scan(null, loader, nullInclusive, visitParents);
        me.ifExceptionThrow();
    }


    /**
 
View Full Code Here

Examples of org.eclipse.jgit.diff.DiffFormatter.scan()

      if (destinationPrefix != null)
        diffFmt.setNewPrefix(destinationPrefix);
      if (sourcePrefix != null)
        diffFmt.setOldPrefix(sourcePrefix);

      List<DiffEntry> result = diffFmt.scan(oldTree, newTree);
      if (showNameAndStatusOnly) {
        return result;
      } else {
        diffFmt.format(result);
        diffFmt.flush();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.