Package com.drew.metadata.file
Class FileSystemDescriptor
- java.lang.Object
-
- com.drew.metadata.TagDescriptor<FileSystemDirectory>
-
- com.drew.metadata.file.FileSystemDescriptor
-
public class FileSystemDescriptor extends TagDescriptor<FileSystemDirectory>
-
-
Field Summary
-
Fields inherited from class com.drew.metadata.TagDescriptor
_directory
-
-
Constructor Summary
Constructors Constructor Description FileSystemDescriptor(FileSystemDirectory directory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription(int tagType)Returns a descriptive value of the specified tag for this image.private java.lang.StringgetFileSizeDescription()-
Methods inherited from class com.drew.metadata.TagDescriptor
convertBytesToVersionString, get7BitStringFromBytes, getBitFlagDescription, getByteLengthDescription, getDecimalRational, getEncodedTextDescription, getEpochTimeDescription, getFocalLengthDescription, getFormattedFloat, getFormattedInt, getFormattedString, getFStopDescription, getIndexedDescription, getIndexedDescription, getLensSpecificationDescription, getOrientationDescription, getRationalOrDoubleString, getShutterSpeedDescription, getSimpleRational, getStringFromBytes, getVersionBytesDescription
-
-
-
-
Constructor Detail
-
FileSystemDescriptor
public FileSystemDescriptor(FileSystemDirectory directory)
-
-
Method Detail
-
getDescription
public java.lang.String getDescription(int tagType)
Description copied from class: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 classTagDescriptor<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
private java.lang.String getFileSizeDescription()
-
-