TwinParser.resetTags(Map<String, Object> tagsMap) 方法

定义

Reset the `tags` information in the collection, deleting all old tags and add all the new provided ones. Return a string with a json that contains a sub-collection of added tags.

public String resetTags(Map<String, Object> tagsMap)

参数

tagsMap
Map<String, Object>

- Map of `tags` to change the collection.

返回

String

Json with added tags

例外

IllegalArgumentException

This exception is thrown if the tags in the map do not fits the requirements.

IOException

This exception is thrown if tags the is not enabled.

适用于