Package gov.nih.mipav.model.file
Class MetadataExtractor.FileSystemDescriptor
java.lang.Object
gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor<MetadataExtractor.FileSystemDirectory>
gov.nih.mipav.model.file.MetadataExtractor.FileSystemDescriptor
- Enclosing class:
MetadataExtractor
public class MetadataExtractor.FileSystemDescriptor
extends MetadataExtractor.TagDescriptor<MetadataExtractor.FileSystemDirectory>
- Author:
- Drew Noakes https://drewnoakes.com
-
Field Summary
FieldsFields inherited from class gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor
_directory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDescription(int tagType) Returns a descriptive value of the specified tag for this image.private StringMethods inherited from class gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor
convertBytesToVersionString, get7BitStringFromBytes, getBitFlagDescription, getByteLengthDescription, getDecimalRational, getEncodedTextDescription, getEpochTimeDescription, getFocalLengthDescription, getFormattedFloat, getFormattedInt, getFormattedString, getFStopDescription, getIndexedDescription, getIndexedDescription, getLensSpecificationDescription, getOrientationDescription, getRationalOrDoubleString, getShutterSpeedDescription, getSimpleRational, getStringFromBytes, getVersionBytesDescription
-
Field Details
-
TAG_FILE_SIZE
public static final int TAG_FILE_SIZE- See Also:
-
-
Constructor Details
-
FileSystemDescriptor
-
-
Method Details
-
getDescription
Description copied from class:MetadataExtractor.TagDescriptorReturns a descriptive value of the specified tag for this image. Where possible, known values will be substituted here in place of the raw tokens actually kept in the metadata segment. If no substitution is available, the value provided bygetString(tagType)will be returned.- Overrides:
getDescriptionin classMetadataExtractor.TagDescriptor<MetadataExtractor.FileSystemDirectory>- Parameters:
tagType- the tag to find a description for- Returns:
- a description of the image's value for the specified tag, or
nullif the tag hasn't been defined.
-
getFileSizeDescription
-