Class ResourcesAdditionalDataGetter
java.lang.Object
org.ametys.plugins.contentio.archive.ResourcesAdditionalDataGetter
- All Implemented Interfaces:
XMLValuesExtractorAdditionalDataGetter
public class ResourcesAdditionalDataGetter
extends Object
implements XMLValuesExtractorAdditionalDataGetter
Retrieves the additional data of resources types (files, binaries, rich texts)
-
Constructor Summary
ConstructorDescriptionResourcesAdditionalDataGetter
(Path archivePath, Path path) Creates an additional data getter -
Method Summary
Modifier and TypeMethodDescriptiongetAdditionalData
(String dataPath, ElementType type) Retrieves the additional data needed to extract the value at the given path
-
Constructor Details
-
ResourcesAdditionalDataGetter
Creates an additional data getter- Parameters:
archivePath
- The path to the zip archivepath
- The path to the object being imported
-
-
Method Details
-
getAdditionalData
Description copied from interface:XMLValuesExtractorAdditionalDataGetter
Retrieves the additional data needed to extract the value at the given path- Specified by:
getAdditionalData
in interfaceXMLValuesExtractorAdditionalDataGetter
- Parameters:
dataPath
- the data pathtype
- the type of the data at the given path- Returns:
- the additional data
-