Class MemoryResourceStore

  • All Implemented Interfaces:
    ResourceStore

    public final class MemoryResourceStore
    extends java.lang.Object
    implements ResourceStore
    Store just in memory
    Author:
    tcurdt
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String[] list()
      Deprecated. 
      byte[] read​(java.lang.String pResourceName)  
      void remove​(java.lang.String pResourceName)  
      java.lang.String toString()  
      void write​(java.lang.String pResourceName, byte[] pData)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MemoryResourceStore

        public MemoryResourceStore()
    • Method Detail

      • read

        public byte[] read​(java.lang.String pResourceName)
        Specified by:
        read in interface ResourceStore
      • write

        public void write​(java.lang.String pResourceName,
                          byte[] pData)
        Specified by:
        write in interface ResourceStore
      • remove

        public void remove​(java.lang.String pResourceName)
        Specified by:
        remove in interface ResourceStore
      • list

        @Deprecated
        public java.lang.String[] list()
        Deprecated.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object