Skip to content

Commit

Permalink
Support several flavours
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed Jul 30, 2024
1 parent 65629e0 commit c834768
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
import java.io.IOException;
import java.net.URL;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
Expand Down Expand Up @@ -100,6 +102,15 @@ public ValidationProfile getValidationProfileByFlavour(final PDFAFlavour flavour
return this.profiles.getValidationProfileByFlavour(flavour);
}

@Override
public List<ValidationProfile> getValidationProfilesByFlavours(List<PDFAFlavour> flavours) {
List<ValidationProfile> profiles = new LinkedList<>();
for (PDFAFlavour flavour : flavours) {
profiles.add(getValidationProfileByFlavour(flavour));
}
return profiles;
}

/**
* { @inheritDoc }
*/
Expand Down

0 comments on commit c834768

Please sign in to comment.