Package de.xima.fc.proma.resource
Class PromaResourceExtractor
java.lang.Object
de.xima.fc.proma.resource.PromaResourceExtractor
Utility methods to extract data from PROMA API models. This is the opposite of
PromaResourceFactory
.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionextractGuiImages
(de.xima.proma.restclient.pub.gen.model.PublicStoreItemVersionResource version) Extracts all image links with their description from a given version.extractImageLinks
(de.xima.proma.restclient.pub.gen.model.PublicStoreItemVersionResource version) Extracts all image links from a given version.
-
Method Details
-
extractImageLinks
public static List<String> extractImageLinks(de.xima.proma.restclient.pub.gen.model.PublicStoreItemVersionResource version) Extracts all image links from a given version. Each link can be accessed via an HTTP GET request.- Parameters:
version
- Version to process.- Returns:
- All image links, if any, or empty when there are no links.
-
extractGuiImages
public static List<GuiImage> extractGuiImages(de.xima.proma.restclient.pub.gen.model.PublicStoreItemVersionResource version) Extracts all image links with their description from a given version. Each link can be accessed via an HTTP GET request.- Parameters:
version
- Version to process.- Returns:
- All image links, if any, or empty when there are no links.
-