public class EuropeanaUrlBuilder extends Object
| Constructor and Description |
|---|
EuropeanaUrlBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static UrlBuilder |
getRecordPortalUrl(String europeanaId)
Generates an url to retrieve a record from the Europeana website
|
static UrlBuilder |
getRecordPortalUrl(String collectionId,
String itemId)
Generates an url to retrieve a record from the Europeana website
|
static UrlBuilder |
getThumbnailUrl(String uri,
DocType type)
Generates an url to retrieve a thumbnail with default size from the Europeana Thumbnail Storage
The url is processed eventually by the ThumbnailController in the API2 project.
|
static UrlBuilder |
getThumbnailUrl(String uri,
String size,
DocType type)
Generates an url to retrieve a thumbnail from the Europeana Thumbnail Storage
The url is process eventually by the ThumbnailController in the API2 project.
|
public static UrlBuilder getRecordPortalUrl(String collectionId, String itemId)
collectionId - itemId - public static UrlBuilder getRecordPortalUrl(String europeanaId)
europeanaId - public static UrlBuilder getThumbnailUrl(String uri, DocType type)
uri - uri of original thumbnail. A null value can be provided but will result in a not-working thumbnail-url
so for proper working an uri is required.type - defaults to IMAGE (optional)public static UrlBuilder getThumbnailUrl(String uri, String size, DocType type)
uri - uri of original thumbnail. A null value can be provided but will result in a not-working thumbnail-url
so for proper working an uri is required.size - either w200 or w400, other values are ignored (optional)type - defaults to IMAGE (optional)Copyright © 2019 Europeana Foundation. All rights reserved.