Class MemoryResourceStore

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<org.drools.util.PortablePath,​byte[]> getResources()  
      byte[] read​(org.drools.util.PortablePath resourcePath)  
      void remove​(org.drools.util.PortablePath resourcePath)  
      void write​(org.drools.util.PortablePath resourcePath, byte[] pResourceData)  
      void write​(org.drools.util.PortablePath resourcePath, byte[] pResourceData, boolean createFolder)  
      • Methods inherited from class java.lang.Object

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

      • MemoryResourceStore

        public MemoryResourceStore()
    • Method Detail

      • write

        public void write​(org.drools.util.PortablePath resourcePath,
                          byte[] pResourceData)
        Specified by:
        write in interface ResourceStore
      • write

        public void write​(org.drools.util.PortablePath resourcePath,
                          byte[] pResourceData,
                          boolean createFolder)
        Specified by:
        write in interface ResourceStore
      • read

        public byte[] read​(org.drools.util.PortablePath resourcePath)
        Specified by:
        read in interface ResourceStore
      • remove

        public void remove​(org.drools.util.PortablePath resourcePath)
        Specified by:
        remove in interface ResourceStore
      • getResources

        public java.util.Map<org.drools.util.PortablePath,​byte[]> getResources()