Package org.dspace.app.rest.utils
Class BitstreamMetadataValuePathUtils
- java.lang.Object
-
- org.dspace.app.rest.utils.BitstreamMetadataValuePathUtils
-
public class BitstreamMetadataValuePathUtils extends Object
Utils class offering methods to validate patch operations for bitstream metadata in the submission- Author:
- Mykhaylo Boychuk (mykhaylo.boychuk at 4science.it)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate(String absolutePath)Method to verify that the path included in the patch operation is supported by the submission configuration of the upload section
-
-
-
Method Detail
-
validate
public void validate(String absolutePath) throws DCInputsReaderException
Method to verify that the path included in the patch operation is supported by the submission configuration of the upload section- Parameters:
absolutePath- the path in the json patch operation- Throws:
DCInputsReaderException- if an error occurs reading the submission configurationUnprocessableEntityException- if the path is invalid
-
-