Package ucar.nc2.grib.collection
Class PartitionCollectionMutable.Partition
- java.lang.Object
-
- ucar.nc2.grib.collection.PartitionCollectionMutable.Partition
-
- All Implemented Interfaces:
Comparable<PartitionCollectionMutable.Partition>
- Enclosing class:
- PartitionCollectionMutable
public class PartitionCollectionMutable.Partition extends Object implements Comparable<PartitionCollectionMutable.Partition>
-
-
Constructor Summary
Constructors Constructor Description Partition(String name, String filename, long lastModified, long fileSize, String directory, CalendarDate partitionDate)
Partition(MCollection dcm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(PartitionCollectionMutable.Partition o)
FeatureCollectionConfig
getConfig()
MCollection
getDcm()
String
getDirectory()
String
getFilename()
GribCollectionImmutable
getGribCollection()
long
getLastModified()
org.slf4j.Logger
getLogger()
String
getName()
boolean
isGrib1()
GribCollectionMutable
makeGribCollection()
String
toString()
-
-
-
Constructor Detail
-
Partition
public Partition(String name, String filename, long lastModified, long fileSize, String directory, CalendarDate partitionDate)
-
Partition
public Partition(MCollection dcm)
-
-
Method Detail
-
getName
public String getName()
-
getFilename
public String getFilename()
-
getDirectory
public String getDirectory()
-
getLastModified
public long getLastModified()
-
isGrib1
public boolean isGrib1()
-
getConfig
public FeatureCollectionConfig getConfig()
-
getLogger
public org.slf4j.Logger getLogger()
-
getDcm
public MCollection getDcm()
-
getGribCollection
public GribCollectionImmutable getGribCollection() throws IOException
- Throws:
IOException
-
makeGribCollection
@Nullable public GribCollectionMutable makeGribCollection()
-
compareTo
public int compareTo(@Nonnull PartitionCollectionMutable.Partition o)
- Specified by:
compareTo
in interfaceComparable<PartitionCollectionMutable.Partition>
-
-