thredds.inventory
Class TimedCollection

java.lang.Object
  extended by thredds.inventory.TimedCollection

public class TimedCollection
extends Object

Manage collections of files that we can assign date ranges to. A wrap of DatasetCollectionManager.

Since:
May 19, 2009
Author:
caron

Nested Class Summary
 class TimedCollection.Dataset
          The Dataset.getLocation() can be passed to FeatureDatasetFactoryManager.open().
 
Constructor Summary
TimedCollection(DatasetCollectionManager manager, Formatter errlog)
          Manage collections of files that we can assign date ranges to
 
Method Summary
 List<TimedCollection.Dataset> getDatasets()
           
 DateRange getDateRange()
           
 TimedCollection.Dataset getPrototype()
           
static void main(String[] arg)
           
 TimedCollection subset(DateRange range)
           
 String toString()
           
 void update()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimedCollection

public TimedCollection(DatasetCollectionManager manager,
                       Formatter errlog)
                throws IOException
Manage collections of files that we can assign date ranges to

Parameters:
manager - the collection manager
errlog - put error messsages here
Throws:
IOException - on read error
See Also:
CollectionSpecParser
Method Detail

update

public void update()

getPrototype

public TimedCollection.Dataset getPrototype()

getDatasets

public List<TimedCollection.Dataset> getDatasets()

subset

public TimedCollection subset(DateRange range)

getDateRange

public DateRange getDateRange()

toString

public String toString()
Overrides:
toString in class Object

main

public static void main(String[] arg)
                 throws IOException
Throws:
IOException


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.