Class MemoryResourceStore

    • 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 Map<org.drools.util.PortablePath,​byte[]> getResources()