Package gov.nih.mipav.model.file
Class MetadataExtractor.AppleRunTimeReader
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.AppleRunTimeReader
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.AppleRunTimeReader extends java.lang.Object
Reads the AppleRunTime data and addsMetadataExtractor.AppleRunTimeMakernoteDirectory
to the parentMetadataExtractor.AppleMakernoteDirectory
if it can be parsed with no errors.
-
-
Constructor Summary
Constructors Constructor Description AppleRunTimeReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
extract(byte[] bytes, MetadataExtractor.Metadata metadata, MetadataExtractor.Directory parentDirectory)
private void
processAppleRunTime(MetadataExtractor.AppleRunTimeMakernoteDirectory directory, byte[] bplist)
Process the BPLIST containing the RUN_TIME tag.
-
-
-
Method Detail
-
extract
public void extract(byte[] bytes, MetadataExtractor.Metadata metadata, MetadataExtractor.Directory parentDirectory)
-
processAppleRunTime
private void processAppleRunTime(MetadataExtractor.AppleRunTimeMakernoteDirectory directory, byte[] bplist) throws java.io.IOException
Process the BPLIST containing the RUN_TIME tag. The directory will only be populated with values if the flag indicates that the CMTime structure is "valid".- Parameters:
directory
- The AppleRunTimeMakernoteDirectory to set values onto.bplist
- The BPLIST- Throws:
java.io.IOException
- Thrown if an error occurs parsing the BPLIST as a CMTime structure.
-
-