Class AppleRunTimeReader

java.lang.Object
com.drew.metadata.apple.AppleRunTimeReader

public class AppleRunTimeReader extends Object
Reads the AppleRunTime data and adds AppleRunTimeMakernoteDirectory to the parent AppleMakernoteDirectory if it can be parsed with no errors.
  • Constructor Details

    • AppleRunTimeReader

      public AppleRunTimeReader()
  • Method Details

    • extract

      public void extract(byte[] bytes, Metadata metadata, Directory parentDirectory)
    • processAppleRunTime

      private static void processAppleRunTime(AppleRunTimeMakernoteDirectory directory, byte[] bplist) throws 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:
      IOException - Thrown if an error occurs parsing the BPLIST as a CMTime structure.