Package de.xima.fc.proma.resource
Class PromaResourceExtractor
- java.lang.Object
 - 
- de.xima.fc.proma.resource.PromaResourceExtractor
 
 
- 
public final class PromaResourceExtractor extends Object
Utility methods to extract data from PROMA API models. This is the opposite ofPromaResourceFactory.- Since:
 - 8.0.0
 - Author:
 - XIMA MEDIA GmbH
 - See Also:
 PromaResourceFactory
 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<GuiImage>extractGuiImages(de.xima.proma.restclient.pub.gen.model.PublicStoreItemVersionResource version)Extracts all image links with their description from a given version.static List<String>extractImageLinks(de.xima.proma.restclient.pub.gen.model.PublicStoreItemVersionResource version)Extracts all image links from a given version. 
 - 
 
- 
- 
Method Detail
- 
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.
 
 
 - 
 
 -