public interface ProfileDirectory
ValidationProfiles
that can be retrieved by String id or PDFAFlavour.
This interface provides a simple directory of ValidationProfiles that is intentionally restricted by the enum type PDFAFlavour.
| Modifier and Type | Method and Description |
|---|---|
Set<PDFAFlavour> |
getPDFAFlavours() |
ValidationProfile |
getValidationProfileByFlavour(PDFAFlavour flavour) |
ValidationProfile |
getValidationProfileById(String profileID) |
Set<String> |
getValidationProfileIds() |
Set<ValidationProfile> |
getValidationProfiles() |
Set<String> getValidationProfileIds()
Set<PDFAFlavour> getPDFAFlavours()
PDFAFlavour enum instances that identify the
profiles held in the directory.ValidationProfile getValidationProfileById(String profileID)
profileID - a two character String that uniquely identifies a particular
PDFAFlavour, e.g. 1a, 1b, 2a, etc.ValidationProfile associated with the profileIdNoSuchElementException - when there is no profile associated with the profileID string
IllegalArgumentException if the profileID parameter is nullIllegalArgumentException - if profileID is nullValidationProfile getValidationProfileByFlavour(PDFAFlavour flavour)
flavour - a PDFAFlavour instance that identifies a
ValidationProfileValidationProfile associated with the flavourNoSuchElementException - when there is no profile associated with the flavour
IllegalArgumentException if the flavour parameter is nullIllegalArgumentException - if flavour is nullSet<ValidationProfile> getValidationProfiles()
ValidationProfiles held in the directory.Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.