public class TAIUTCDatFilesLoader extends AbstractSelfFeedingLoader implements UTCTAIOffsetsLoader
This class is immutable and hence thread-safe
Modifier and Type | Class and Description |
---|---|
static class |
TAIUTCDatFilesLoader.Parser
Internal class performing the parsing.
|
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SUPPORTED_NAMES
Default supported files name pattern.
|
Constructor and Description |
---|
TAIUTCDatFilesLoader(String supportedNames)
Build a loader for tai-utc.dat file from USNO.
|
TAIUTCDatFilesLoader(String supportedNames,
DataProvidersManager manager)
Build a loader for tai-utc.dat file from USNO.
|
Modifier and Type | Method and Description |
---|---|
List<OffsetModel> |
loadOffsets()
Load UTC-TAI offsets entries.
|
feed, getDataProvidersManager, getSupportedNames, setSupportedNames
public static final String DEFAULT_SUPPORTED_NAMES
@DefaultDataContext public TAIUTCDatFilesLoader(String supportedNames)
default data context
.supportedNames
- regular expression for supported files namesTAIUTCDatFilesLoader(String, DataProvidersManager)
public TAIUTCDatFilesLoader(String supportedNames, DataProvidersManager manager)
supportedNames
- regular expression for supported files namesmanager
- provides access to the tai-utc.dat
file.public List<OffsetModel> loadOffsets()
loadOffsets
in interface UTCTAIOffsetsLoader
Copyright © 2002-2020 CS GROUP. All rights reserved.