Examples of search()


Examples of org.joni.Matcher.search()

        int range = value.begin + value.realSize;
        Matcher matcher = regex.matcher(value.bytes, value.begin, range);

        Frame frame = context.getPreviousFrame();
        if (matcher.search(value.begin, range, Option.NONE) >= 0) {
            if (iter) {
                byte[] bytes = value.bytes;
                int size = value.realSize;
                RubyMatchData match = rubyRegex.updateBackRef(context, this, frame, matcher);
                match.use();

Examples of org.jwall.rbl.data.RblFile.search()

    log.info("  file is {}", file);

    try {
      RblFile rbl = new RblFile(file);

      List<RBListEntry> list = rbl.search("*");
      for (RBListEntry entry : list) {
        log.info("{}", entry);
        log.info("  Entry for {}", entry.getName());
        log.info("  Created at {}", new Date(entry.getCreated()));
        log.info("  Expires in {}", new Date(entry.getExpiresAt()));

Examples of org.locationtech.udig.catalog.ICatalog.search()

        assertNotNull( service );
       
        ICatalog catalog = CatalogPlugin.getDefault().getLocalCatalog();
        catalog.add( service ); // we can now find this service!
       
        List<IResolve> found = catalog.search("csv",null, null );
        assertEquals( 2, found.size() );
       
        //get all the resources from the service
        List<? extends IGeoResource> resources = service.resources(null);
        assertNotNull(resources);

Examples of org.locationtech.udig.project.ui.feature.FeaturePanelProcessor.search()

        FeaturePanelProcessor featurePanelProcessor = ProjectUIPlugin.getDefault()
                .getFeaturePanelProcessor();
        labelProvider = null; // new TabLabelProvider();

        List<FeaturePanelEntry> list = featurePanelProcessor.search(schema);
        for( FeaturePanelEntry entry : list ) {
            ILabelProvider titleProivder = entry.getLabelProvider();
            if (titleProivder != null) {
                labelProvider = new TabLabelProvider(titleProivder);
                break;

Examples of org.locationtech.udig.tool.info.internal.InfoView2.search()

              IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
          if (!page.isPartVisible(infoView)) page.bringToTop(infoView);
                   
                    // we got here and info was null? Don't want to fail on first attempt
                    infoView=(InfoView2) ApplicationGIS.getView(false, InfoView2.VIEW_ID);                   
          infoView.search( request );
                }
            });
        } catch ( Throwable e1) {
            // Should log problem .. 
            InfoPlugin.log( "Could not display information", e1 ); //$NON-NLS-1$

Examples of org.mypj.tele.client.Msg.search()

    oracle.add("Dog");
    oracle.add("Horse");
    oracle.add("Canary");
    box = new SuggestBox(oracle);
    //search button
    final Button searchButton = new Button(msg.search());
    searchButton.addClickHandler(new ClickHandler() {
     
      @Override
      public void onClick(ClickEvent event) {
        doAsync(box.getValue());

Examples of org.nasutekds.server.api.Backend.search()

            Backend b = baseMap.get(subBase);
            searchOperation.setBaseDN(subBase);

            try
            {
              b.search(searchOperation);
            }
            catch (DirectoryException de)
            {
              // If it's a "no such object" exception, then the base entry for
              // the backend doesn't exist.  This isn't an error, so ignore it.

Examples of org.onebusaway.webapp.gwt.where_library.impl.CombinedSearchServiceImpl.search()

    query.setBounds(bounds);
    query.setMaxCount(10);
    query.setQuery(_query);

    CombinedSearchService search = new CombinedSearchServiceImpl();
    search.search(query, 5000, this);
  }

  /****
   * {@link AsyncCallback} Interface
   ****/
 

Examples of org.onebusaway.webapp.gwt.where_library.services.CombinedSearchService.search()

    query.setBounds(bounds);
    query.setMaxCount(10);
    query.setQuery(_query);

    CombinedSearchService search = new CombinedSearchServiceImpl();
    search.search(query, 5000, this);
  }

  /****
   * {@link AsyncCallback} Interface
   ****/
 

Examples of org.opensolaris.opengrok.search.SearchEngine.search()

    }

    if (valid) {
      long start = System.currentTimeMillis();
     
      int numResults = engine.search();
      int maxResults = MAX_RESULTS;
      String maxResultsParam = req.getParameter(PARAM_MAXRESULTS);
      if (maxResultsParam != null) {
        try {
          maxResults = Integer.parseInt(maxResultsParam);
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.