public void show(Formatter f) { f.format("FeatureCollectionConfig name= '%s' collectionName= '%s' type= '%s'%n", name, collectionName, type); f.format(" spec= '%s'%n", spec); if (rootDir != null) f.format(" rootDir= '%s' regExp= '%s'%n", rootDir, regExp); if (dateFormatMark != null) f.format(" dateFormatMark='%s'%n", dateFormatMark); if (olderThan != null) f.format(" olderThan= %s%n", olderThan); if (ptype == PartitionType.timePeriod) f.format(" timePartition= %s %n", timePeriod); else f.format(" timePartition= %s%n", ptype); if (type != null) { switch (type) { case GRIB1: case GRIB2: gribConfig.show(f); break; case FMRC: f.format(" fmrcConfig= %s%n", fmrcConfig); break; case Point: case Station: case Station_Profile: f.format(" pointConfig= %s%n", pointConfig); break; } } }