Package thredds.crawlabledataset.sorter

Examples of thredds.crawlabledataset.sorter.LexigraphicByNameSorter


      enhancerList = new ArrayList();
      enhancerList.add( RegExpAndDurationTimeCoverageEnhancer.getInstanceToMatchOnDatasetName( dsNameMatchPattern, startTimeSubstitutionPattern, duration ) );
    }
    CatalogBuilder catBuilder = new StandardCatalogBuilder( prefixPath, null, collectionCrDs, filter, service,
                                                            addIdBase, null, null, addDatasetSize,
                                                            new LexigraphicByNameSorter( sortInIncreasingOrder ), null, enhancerList , null,
                                                            new BooleanCatalogRefExpander( ! this.createCatalogRefs) );

    InvCatalog catalog;
    try
    {
View Full Code Here


    this.identifier = null;
    this.namer = null;
    this.addDatasetSize = addDatasetSize;

    this.sorter = new LexigraphicByNameSorter( sortOrderIncreasing );

    // Add latest resolver dataset to Map of ProxyDatasetHandlers
    this.proxyDatasetHandlers = new HashMap();
    if ( addLatest != null )
    {
View Full Code Here

    this.identifier = null;
    this.namer = null;
    this.addDatasetSize = addDatasetSize;

    this.sorter = new LexigraphicByNameSorter( sortOrderIncreasing );

    // Add latest resolver dataset to Map of ProxyDatasetHandlers
    this.proxyDatasetHandlers = new HashMap();
    if ( addLatest != null )
    {
View Full Code Here

    }

    // Read sort element
    Element sorterElem = dsElem.getChild( "sort", defNS );
    // By default, sort in decreasing lexigraphic order.
    CrawlableDatasetSorter sorter = new LexigraphicByNameSorter( false );
    if ( sorterElem != null )
    {
      sorter = readDatasetScanSorter( sorterElem );
    }
View Full Code Here

        String increasingString = lexSortElem.getAttributeValue( "increasing");
        if ( increasingString.equalsIgnoreCase( "true") )
          increasing = true;
        else
          increasing = false;
        sorter = new LexigraphicByNameSorter( increasing );
      }
    }

    return sorter;
  }
View Full Code Here

    configCat.addService( new InvService( "odap", "OPENDAP", "/thredds/dodsC/", null, null ) );
    InvDatasetImpl configRootDs = new InvDatasetImpl( null, "root ds" );
    configCat.addDataset( configRootDs );
    InvDatasetScan scan = new InvDatasetScan( configRootDs, "test", this.scanPath, this.scanLocation,
                                              null, null, null, null, null, true,
                                              new LexigraphicByNameSorter( true),
                                              null, null,
                                              new BooleanCatalogRefExpander( true) );

    scan.setServiceName( "odap" );
    configRootDs.addDataset( scan );
View Full Code Here

TOP

Related Classes of thredds.crawlabledataset.sorter.LexigraphicByNameSorter

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.