Interface ExifValueFormatter<T>
- All Superinterfaces:
Public
- All Known Subinterfaces:
ExifValueFormatter.ComplexExifValueFormatter<S,
C>
Format a given object value of type
Values defined by
getValueType()
if getSupportedTags()
return an array of length 0 or
all defined tags returned by getSupportedTags()
.
Values defined by
getSupportedTags()
could be mainly taken from ExifTags
.- Since:
- 5.0.100
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
A more complex value formatter which could return different types of <S> and <C> where S=simple value and C is the complex one. -
Method Summary
Modifier and TypeMethodDescriptionThis method formats a object to produce a value of type T.@org.jetbrains.annotations.NotNull int[]
The exif tags hex this formatter is registered for.Returns the value type of type <T>Renders string representations of objects.
-
Method Details
-
format
This method formats a object to produce a value of type T.- Parameters:
value
- the given value to formatformField
- to set the formatted value- Returns:
- the formatted object value
- Since:
- 5.0.100
- See Also:
-
getValueType
Returns the value type of type <T>- Returns:
- Since:
- 5.0.100
-
getSupportedTags
@NotNull @org.jetbrains.annotations.NotNull int[] getSupportedTags()The exif tags hex this formatter is registered for. It should return an array of length 0 if this formatter should be responsible for all tags of typegetValueType()
, e.g.Number.class
.- Returns:
- The exif tags this formatter is registered for or an array of length 0
- Since:
- 5.0.100
- See Also:
-
render
Renders string representations of objects.- Parameters:
value
- the give value- Returns:
- the string representation
- Since:
- 5.0.100
-