@Beta public class GreedyDcatFactory extends DcatFactory
for more prudent factory.DESCRIPTION, ISSUED, MODIFIED, TITLE, URI_FIELD| Constructor and Description |
|---|
GreedyDcatFactory()
Creates a factory with default configuration.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
extractModified(CkanResource resource)
Looks for 'modified' and then lastModified field.
|
protected List<eu.trentorise.opendata.traceprov.dcat.SkosConcept> |
extractThemes(CkanDataset dataset,
Locale locale,
String catalogUrl)
Searches for themes in 'theme' field, and falls back to groups and then
organizations.
|
extractAccessUrl, extractAccrualPeriodicity, extractByteSize, extractContactPoint, extractDescription, extractDescription, extractDownloadUrl, extractField, extractField, extractFieldAsNonEmptyString, extractFieldAsNonEmptyString, extractFieldAsObject, extractFieldAsString, extractFieldAsString, extractFormat, extractIdentifier, extractIssued, extractIssued, extractKeywords, extractLandingPage, extractLanguages, extractLicense, extractMediaType, extractModified, extractPublisher, extractRights, extractSpatial, extractTemporal, extractTitle, extractTitle, extractUri, extractUri, formatLanguages, formatTimestamp, getLogger, getObjectMapper, isTrimmedEmpty, logCantExtract, logCantFind, logDatasetCantExtract, logDatasetCantFind, logDistribCantExtract, logDistribCantFind, makeDataset, makeDistribution, postProcessDataset, postProcessDistribution, setLogger, setObjectMapper, trimpublic GreedyDcatFactory()
protected List<eu.trentorise.opendata.traceprov.dcat.SkosConcept> extractThemes(CkanDataset dataset, Locale locale, String catalogUrl)
extractThemes in class DcatFactorylocale - the locale of the theme names. If unknown pass
Locale.ROOTprotected String extractModified(CkanResource resource)
extractModified in class DcatFactoryCopyright © 2015 Trento Rise. All rights reserved.