Class DyldCacheUtils.SplitDyldCache

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Enclosing class:
    DyldCacheUtils

    public static class DyldCacheUtils.SplitDyldCache
    extends java.lang.Object
    implements java.io.Closeable
    Class to store a "split" DYLD Cache, which is split across several files (base file, .1, .2, .symbols, etc).
    • Constructor Detail

      • SplitDyldCache

        public SplitDyldCache​(ByteProvider baseProvider,
                              boolean shouldProcessSymbols,
                              boolean shouldCombineSplitFiles,
                              MessageLog log,
                              TaskMonitor monitor)
                       throws java.io.IOException,
                              CancelledException
        Parameters:
        baseProvider - The ByteProvider of the "base" DYLD Cache file
        shouldProcessSymbols - True if symbols should be processed; otherwise, false
        shouldCombineSplitFiles - True if split DYLD Cache files should be automatically
        log - The log
        monitor - A cancelable task monitor
        Throws:
        java.io.IOException - If there was an IO-related issue with processing the split DYLD Cache
        CancelledException - If the user canceled the operation
    • Method Detail

      • size

        public int size()
        Gets the number of split DYLD Cache files
        Returns:
        The number of split DYLD Cache files
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException