public class PivotFetcher extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PivotFetcher.Result
Result class encapsulates the result of the pivot fetching and validation process.
|
| Constructor and Description |
|---|
PivotFetcher(LotlService service)
Constructs a PivotFetcher with the specified LotlService and ValidatorChainBuilder.
|
| Modifier and Type | Method and Description |
|---|---|
PivotFetcher.Result |
downloadAndValidatePivotFiles(byte[] lotlXml,
List<Certificate> certificates)
Fetches and validates pivot files from the provided Lotl XML.
|
protected List<String> |
getPivotsUrlList(byte[] lotlXml)
Gets list of pivots xml files, including OJ entries.
|
void |
setCurrentJournalUri(String currentJournalUri)
Sets
String constant representing currently used Official Journal publication. |
public PivotFetcher(LotlService service)
service - the LotlService used to retrieve resourcespublic void setCurrentJournalUri(String currentJournalUri)
String constant representing currently used Official Journal publication.currentJournalUri - String constant representing currently used Official Journal publicationpublic PivotFetcher.Result downloadAndValidatePivotFiles(byte[] lotlXml, List<Certificate> certificates)
lotlXml - the byte array of the Lotl XMLcertificates - the list of trusted certificatesCopyright © 1998–2025 Apryse Group NV. All rights reserved.