Package ghidra.util

Class ObjectStorageStreamAdapter

  • All Implemented Interfaces:
    ObjectStorage

    public class ObjectStorageStreamAdapter
    extends java.lang.Object
    implements ObjectStorage
    Implementation for ObjectStorage to save and restore Strings and Java primitives using an ObjectOutputStream and ObjectInputStream, respectively.
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectStorageStreamAdapter​(java.io.ObjectInputStream in)
      Constructor for new ObjectStorageStreamAdapter
      ObjectStorageStreamAdapter​(java.io.ObjectOutputStream out)
      Constructor for ObjectStorageStreamAdapter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean getBoolean()
      Gets the boolean value.
      byte getByte()
      Gets the byte value.
      byte[] getBytes()
      Gets the byte array.
      double getDouble()
      Gets the double value.
      double[] getDoubles()
      Gets the double array.
      float getFloat()
      Gets the float value.
      float[] getFloats()
      Gets the float array.
      int getInt()
      Gets the int value.
      int[] getInts()
      Gets the int array.
      long getLong()
      Gets the long value.
      long[] getLongs()
      Gets the long array.
      short getShort()
      Gets the short value.
      short[] getShorts()
      Gets the short array.
      java.lang.String getString()
      Gets the String value.
      java.lang.String[] getStrings()
      Gets the array of Strings
      void putBoolean​(boolean value)
      Store a boolean value.
      void putByte​(byte value)
      Store a byte value.
      void putBytes​(byte[] value)
      Store a byte array.
      void putDouble​(double value)
      Store a double value.
      void putDoubles​(double[] value)
      Store a double array value.
      void putFloat​(float value)
      Store a float value.
      void putFloats​(float[] value)
      Store a float array.
      void putInt​(int value)
      Store an integer value.
      void putInts​(int[] value)
      Store an integer array.
      void putLong​(long value)
      Store a long value.
      void putLongs​(long[] value)
      Store a long array.
      void putShort​(short value)
      Store a short value.
      void putShorts​(short[] value)
      Store a short array.
      void putString​(java.lang.String value)
      Store a String value.
      void putStrings​(java.lang.String[] value)
      Store a String[] value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait