Class ItemDeserializer

java.lang.Object
ghidra.framework.store.local.ItemDeserializer

public class ItemDeserializer extends Object
ItemDeserializer facilitates the reading of a compressed data stream contained within a "packed" file. A "packed" file contains the following meta-data which is available after construction:
  • Item name
  • Content type (int)
  • File type (int)
  • Data length
  • Constructor Details

  • Method Details

    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      Throwable
    • dispose

      public void dispose()
      Close packed-file input stream and free resources.
    • getItemName

      public String getItemName()
      Returns packed item name
    • getContentType

      public String getContentType()
      Returns packed content type
    • getFileType

      public int getFileType()
      Returns packed file type.
    • getLength

      public long getLength()
      Returns unpacked data length
    • saveItem

      public void saveItem(OutputStream out, TaskMonitor monitor) throws IOCancelledException, IOException
      Save the item to the specified output stream. This method may only be invoked once.
      Parameters:
      out -
      monitor -
      Throws:
      IOException
      IOCancelledException