Examples of scan()


Examples of org.netbeans.modules.php.fuel.ui.actions.gotos.statuses.FuelPhpGoToStatus.scan()

    @Override
    public boolean goToAction() {
        FuelPhpGoToStatusFactory factory = FuelPhpGoToStatusFactory.getInstance();
        FuelPhpGoToStatus status = factory.create(view, offset);
        status.scan();
        final List<GoToItem> items = status.getControllers();
        if (items.isEmpty()) {
            return false;
        }
View Full Code Here

Examples of org.nutz.resource.impl.ResourceLocation.scan()

                    while (enu.hasMoreElements()) {
                        try {
                            URL url = enu.nextElement();
                            ResourceLocation loc = makeResourceLocation(url);
                            if (url.toString().contains("jar!"))
                                loc.scan(src, pattern, list);
                            else
                                loc.scan("", pattern, list);
                        }
                        catch (Throwable e) {
                            if (log.isTraceEnabled())
View Full Code Here

Examples of org.openbel.framework.api.BasicPathFinder.scan()

        final PathFinder pathFinder = new BasicPathFinder(kam);

        final Kam.KamNode[] sourceKamNodes =
                convert(kam, sources);

        final org.openbel.framework.api.SimplePath[] paths = pathFinder
                .scan(sourceKamNodes);

        final List<SimplePath> wsSimplePaths = new ArrayList<SimplePath>(
                paths.length);
View Full Code Here

Examples of org.openbel.framework.api.PathFinder.scan()

        final PathFinder pathFinder = new BasicPathFinder(kam);

        final Kam.KamNode[] sourceKamNodes =
                convert(kam, sources);

        final org.openbel.framework.api.SimplePath[] paths = pathFinder
                .scan(sourceKamNodes);

        final List<SimplePath> wsSimplePaths = new ArrayList<SimplePath>(
                paths.length);
View Full Code Here

Examples of org.openntf.domino.xots.builtin.XotsNsfScanner.scan()

  }

  public void scan(final String serverName) {
    XotsNsfScanner scanner = new XotsNsfScanner(serverName);
    scanner.addObserver(this);
    scanner.scan();
  }

  public void schedule(final Class<? extends Runnable> taskClass) {
    Schedule schedule = taskClass.getAnnotation(Schedule.class);
    if (schedule != null) {
View Full Code Here

Examples of org.owasp.dependencycheck.Engine.scan()

        final Set<Artifact> artifacts = project.getArtifacts();
        for (Artifact a : artifacts) {
            if (excludeFromScan(a)) {
                continue;
            }
            final List<Dependency> deps = localEngine.scan(a.getFile().getAbsoluteFile());
            if (deps != null) {
                if (deps.size() == 1) {
                    final Dependency d = deps.get(0);
                    if (d != null) {
                        final MavenArtifact ma = new MavenArtifact(a.getGroupId(), a.getArtifactId(), a.getVersion());
View Full Code Here

Examples of org.owasp.dependencycheck.org.apache.tools.ant.DirectoryScanner.scan()

    @Test
    public void testExpectedUse() {
        DirectoryScanner scanner = new DirectoryScanner();
        scanner.setBasedir("./target");
        scanner.setIncludes("/test-classes/**");
        scanner.scan();

        File base = new File("./target");
        for (String t : scanner.getIncludedFiles()) {
            assertTrue(t.startsWith("test-classes"));
            File test = new File(base, t);
View Full Code Here

Examples of org.owasp.validator.html.AntiSamy.scan()

      throw new AssertException("Owasp AntiSamy XSS Filter missing a correct policy file.");
    }
    AntiSamy as = new AntiSamy();
    cr = null;
    try {
      cr = as.scan(original, policy);
    } catch (ScanException e) {
      logError("XSS Filter scan error", e);
      printOriginStackTrace();
    } catch (PolicyException e) {
            logError("XSS Filter policy error", e);
View Full Code Here

Examples of org.pdfclown.documents.contents.objects.ContentObject.scan()

    )
  {
    // Scanning the current graphics object...
    ContentObject currentObject = getCurrent();
    if(currentObject != null)
    {currentObject.scan(state);}

    // Moving to the next object...
    if(index < objects.size())
    {index++; refresh();}
View Full Code Here

Examples of org.platformlayer.xaas.discovery.JerseyAnnotationDiscovery.scan()

    bind(DataSource.class).toProvider(GuiceDataSourceProvider.bind("platformlayer.jdbc.")).asEagerSingleton();

    URLClassLoader urlClassLoader = (URLClassLoader) Thread.currentThread().getContextClassLoader();
    JerseyAnnotationDiscovery discovery = new JerseyAnnotationDiscovery();
    discovery.scan(urlClassLoader);

    bind(AnnotationDiscovery.class).toInstance(discovery);

    for (AnnotatedClass annotatedClass : discovery.findAnnotatedClasses(org.platformlayer.xaas.Module.class)) {
      Class<?> moduleClass = annotatedClass.getSubjectClass();
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.