Uses of Class
com.opengamma.strata.collect.io.ResourceLocator
-
Packages that use ResourceLocator Package Description com.opengamma.strata.collect.io Provides utilities for the management of input and output.com.opengamma.strata.loader.csv Loader that reads market data from CSV files. -
-
Uses of ResourceLocator in com.opengamma.strata.collect.io
Methods in com.opengamma.strata.collect.io that return ResourceLocator Modifier and Type Method Description static ResourceLocator
ResourceLocator. of(String locator)
Creates a resource from a string locator.static ResourceLocator
ResourceLocator. ofClasspath(Class<?> cls, String resourceName)
Creates a resource locator for a classpath resource which is associated with a class.static ResourceLocator
ResourceLocator. ofClasspath(String resourceName)
Creates a resource from a fully qualified resource name.static ResourceLocator
ResourceLocator. ofClasspathUrl(URL url)
Creates a resource from aURL
.static ResourceLocator
ResourceLocator. ofFile(File file)
Creates a resource from aFile
.static ResourceLocator
ResourceLocator. ofPath(Path path)
Creates a resource from aPath
.static ResourceLocator
ResourceLocator. ofUrl(URL url)
Creates a resource from aURL
.Methods in com.opengamma.strata.collect.io that return types with arguments of type ResourceLocator Modifier and Type Method Description static List<ResourceLocator>
ResourceConfig. orderedResources(String resourceName)
Obtains an ordered list of resource locators.Method parameters in com.opengamma.strata.collect.io with type arguments of type ResourceLocator Modifier and Type Method Description static IniFile
ResourceConfig. combinedIniFile(List<ResourceLocator> resources)
Returns a combined INI file formed by merging the specified INI files. -
Uses of ResourceLocator in com.opengamma.strata.loader.csv
Methods in com.opengamma.strata.loader.csv with parameters of type ResourceLocator Modifier and Type Method Description static ImmutableMap<ObservableId,LocalDateDoubleTimeSeries>
FixingSeriesCsvLoader. load(ResourceLocator... resources)
Loads one or more CSV format fixing series files.static ImmutableMap<FxRateId,FxRate>
FxRatesCsvLoader. load(LocalDate marketDataDate, ResourceLocator... resources)
Loads one or more CSV format FX rate files for a specific date.static ImmutableMap<LocalDate,ImmutableMap<FxRateId,FxRate>>
FxRatesCsvLoader. load(Set<LocalDate> marketDataDates, ResourceLocator... resources)
Loads one or more CSV format FX rate files for a set of dates.static ImmutableList<LegalEntityCurveGroup>
LegalEntityRatesCurvesCsvLoader. load(LocalDate marketDataDate, ResourceLocator groupsResource, ResourceLocator settingsResource, Collection<ResourceLocator> curveValueResources)
Loads one or more CSV format curve files for a specific date.ValueWithFailures<List<Position>>
PositionCsvLoader. load(ResourceLocator... resources)
Loads one or more CSV format position files.static ImmutableMap<QuoteId,Double>
QuotesCsvLoader. load(LocalDate marketDataDate, ResourceLocator... resources)
Loads one or more CSV format quote files for a specific date.static ImmutableMap<LocalDate,ImmutableMap<QuoteId,Double>>
QuotesCsvLoader. load(Set<LocalDate> marketDataDates, ResourceLocator... resources)
Loads one or more CSV format quote files for a set of dates.static ImmutableMap<CurveGroupName,RatesCurveGroupDefinition>
RatesCalibrationCsvLoader. load(ResourceLocator groupsResource, ResourceLocator settingsResource, ResourceLocator... curveNodeResources)
Loads one or more CSV format curve calibration files.static ImmutableMap<CurveGroupName,RatesCurveGroupDefinition>
RatesCalibrationCsvLoader. load(ResourceLocator groupsResource, ResourceLocator settingsResource, Collection<ResourceLocator> curveNodeResources)
Loads one or more CSV format curve calibration files.static ImmutableList<RatesCurveGroup>
RatesCurvesCsvLoader. load(LocalDate marketDataDate, ResourceLocator groupsResource, ResourceLocator settingsResource, Collection<ResourceLocator> curveValueResources)
Loads one or more CSV format curve files for a specific date.ValueWithFailures<List<Trade>>
TradeCsvLoader. load(ResourceLocator... resources)
Loads one or more CSV format trade files.static ImmutableMap<LocalDate,ImmutableMap<FxRateId,FxRate>>
FxRatesCsvLoader. loadAllDates(ResourceLocator... resources)
Loads one or more CSV format FX rate files.static ImmutableListMultimap<LocalDate,LegalEntityCurveGroup>
LegalEntityRatesCurvesCsvLoader. loadAllDates(ResourceLocator groupsResource, ResourceLocator settingsResource, Collection<ResourceLocator> curveValueResources)
Loads one or more CSV format curve files for all available dates.static ImmutableMap<LocalDate,ImmutableMap<QuoteId,Double>>
QuotesCsvLoader. loadAllDates(ResourceLocator... resources)
Loads one or more CSV format quote files.static ImmutableListMultimap<LocalDate,RatesCurveGroup>
RatesCurvesCsvLoader. loadAllDates(ResourceLocator groupsResource, ResourceLocator settingsResource, Collection<ResourceLocator> curveValueResources)
Loads one or more CSV format curve files for all available dates.static List<RatesCurveGroupDefinition>
RatesCurveGroupDefinitionCsvLoader. loadCurveGroupDefinitions(ResourceLocator groupsResource)
Loads the curve groups definition CSV file.static Map<CurveName,SeasonalityDefinition>
SeasonalityDefinitionCsvLoader. loadSeasonalityDefinitions(ResourceLocator resource)
Loads the seasonality definition CSV file.static ImmutableMap<CurveGroupName,RatesCurveGroupDefinition>
RatesCalibrationCsvLoader. loadWithSeasonality(ResourceLocator groupsResource, ResourceLocator settingsResource, ResourceLocator seasonalityResource, Collection<ResourceLocator> curveNodeResources)
Loads one or more CSV format curve calibration files with seasonality.Method parameters in com.opengamma.strata.loader.csv with type arguments of type ResourceLocator Modifier and Type Method Description static ImmutableMap<ObservableId,LocalDateDoubleTimeSeries>
FixingSeriesCsvLoader. load(Collection<ResourceLocator> resources)
Loads one or more CSV format fixing series files.static ImmutableMap<FxRateId,FxRate>
FxRatesCsvLoader. load(LocalDate marketDataDate, Collection<ResourceLocator> resources)
Loads one or more CSV format FX rate files for a specific date.static ImmutableMap<LocalDate,ImmutableMap<FxRateId,FxRate>>
FxRatesCsvLoader. load(Set<LocalDate> marketDataDates, Collection<ResourceLocator> resources)
Loads one or more CSV format FX rate files for a set of dates.static ImmutableList<LegalEntityCurveGroup>
LegalEntityRatesCurvesCsvLoader. load(LocalDate marketDataDate, ResourceLocator groupsResource, ResourceLocator settingsResource, Collection<ResourceLocator> curveValueResources)
Loads one or more CSV format curve files for a specific date.ValueWithFailures<List<Position>>
PositionCsvLoader. load(Collection<ResourceLocator> resources)
Loads one or more CSV format position files.static ImmutableMap<QuoteId,Double>
QuotesCsvLoader. load(LocalDate marketDataDate, Collection<ResourceLocator> resources)
Loads one or more CSV format quote files for a specific date.static ImmutableMap<LocalDate,ImmutableMap<QuoteId,Double>>
QuotesCsvLoader. load(Set<LocalDate> marketDataDates, Collection<ResourceLocator> resources)
Loads one or more CSV format quote files for a set of dates.static ImmutableMap<CurveGroupName,RatesCurveGroupDefinition>
RatesCalibrationCsvLoader. load(ResourceLocator groupsResource, ResourceLocator settingsResource, Collection<ResourceLocator> curveNodeResources)
Loads one or more CSV format curve calibration files.static ImmutableList<RatesCurveGroup>
RatesCurvesCsvLoader. load(LocalDate marketDataDate, ResourceLocator groupsResource, ResourceLocator settingsResource, Collection<ResourceLocator> curveValueResources)
Loads one or more CSV format curve files for a specific date.ValueWithFailures<ListMultimap<String,CurveSensitivities>>
SensitivityCsvLoader. load(Collection<ResourceLocator> resources)
Loads one or more CSV format sensitivities files.ValueWithFailures<List<Trade>>
TradeCsvLoader. load(Collection<ResourceLocator> resources)
Loads one or more CSV format trade files.static ImmutableMap<LocalDate,ImmutableMap<FxRateId,FxRate>>
FxRatesCsvLoader. loadAllDates(Collection<ResourceLocator> resources)
Loads one or more CSV format FX rate files.static ImmutableListMultimap<LocalDate,LegalEntityCurveGroup>
LegalEntityRatesCurvesCsvLoader. loadAllDates(ResourceLocator groupsResource, ResourceLocator settingsResource, Collection<ResourceLocator> curveValueResources)
Loads one or more CSV format curve files for all available dates.static ImmutableMap<LocalDate,ImmutableMap<QuoteId,Double>>
QuotesCsvLoader. loadAllDates(Collection<ResourceLocator> resources)
Loads one or more CSV format quote files.static ImmutableListMultimap<LocalDate,RatesCurveGroup>
RatesCurvesCsvLoader. loadAllDates(ResourceLocator groupsResource, ResourceLocator settingsResource, Collection<ResourceLocator> curveValueResources)
Loads one or more CSV format curve files for all available dates.static ImmutableMap<CurveGroupName,RatesCurveGroupDefinition>
RatesCalibrationCsvLoader. loadWithSeasonality(ResourceLocator groupsResource, ResourceLocator settingsResource, ResourceLocator seasonalityResource, Collection<ResourceLocator> curveNodeResources)
Loads one or more CSV format curve calibration files with seasonality.
-