Skip to content

Package: XMP

XMP

nameinstructionbranchcomplexitylinemethod
XMP()
M: 8 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
_setProperties(Map)
M: 8 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 3 C: 0
0%
M: 1 C: 0
0%
getXmpProperties()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /***********************************************************************************************************************
2: *
3: * PROJECT NAME
4: * PROJECT COPYRIGHT
5: *
6: ***********************************************************************************************************************
7: *
8: * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
9: * the License. You may obtain a copy of the License at
10: *
11: * http://www.apache.org/licenses/LICENSE-2.0
12: *
13: * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
14: * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
15: * specific language governing permissions and limitations under the License.
16: *
17: ***********************************************************************************************************************
18: *
19: * WWW: PROJECT URL
20: * SCM: PROJECT SCM
21: *
22: **********************************************************************************************************************/
23: package it.tidalwave.image.metadata;
24:
25: import javax.annotation.Nonnull;
26: import java.util.HashMap;
27: import java.util.Map;
28: import lombok.Getter;
29:
30: /***********************************************************************************************************************
31: *
32: * @author Fabrizio Giudici
33: *
34: **********************************************************************************************************************/
35: public class XMP extends Directory
36: {
37: private static final long serialVersionUID = 84768464253462456L;
38:
39: @Getter
40: private final Map<String, String> xmpProperties = new HashMap<>();
41:
42: public void _setProperties (@Nonnull final Map<String, String> xmpProperties)
43: {
44: this.xmpProperties.clear();
45: this.xmpProperties.putAll(xmpProperties);
46: }
47: }