public class ThreddsDatasetChunk extends Object
| Constructor and Description |
|---|
ThreddsDatasetChunk() |
ThreddsDatasetChunk(String fileName) |
| Modifier and Type | Method and Description |
|---|---|
Calendar |
getChunkEnd() |
Calendar |
getChunkStart() |
Calendar |
getChunkUpdate() |
String |
getFileName() |
String |
getName() |
org.gcube.dataanalysis.copernicus.cmems.importer.api.ChunkTimespan |
getTimeSpan()
Guess the timespan of the chunk (day, month, year) by looking at the
length of the timestamp (8, 6, 4 chars) in the chunk file name.
|
boolean |
needsUpdate() |
void |
setChunkStart(Calendar start) |
void |
setChunkUpdate(Calendar updated) |
void |
setFileName(String fileName) |
void |
setName(String name) |
void |
setTimeSpan(org.gcube.dataanalysis.copernicus.cmems.importer.api.ChunkTimespan timeSpan) |
String |
toString() |
public ThreddsDatasetChunk()
public ThreddsDatasetChunk(String fileName) throws ParseException
ParseExceptionpublic String getName()
public void setName(String name)
public Calendar getChunkStart()
public void setChunkStart(Calendar start)
public Calendar getChunkUpdate()
public Calendar getChunkEnd()
public void setChunkUpdate(Calendar updated)
public boolean needsUpdate()
public org.gcube.dataanalysis.copernicus.cmems.importer.api.ChunkTimespan getTimeSpan()
chunkName - the file name of the chunkParseExceptionpublic String getFileName()
public void setFileName(String fileName)
public void setTimeSpan(org.gcube.dataanalysis.copernicus.cmems.importer.api.ChunkTimespan timeSpan)
Copyright © 2019. All Rights Reserved.