Package org.kie.memorycompiler.resources
Class MemoryResourceStore
- java.lang.Object
-
- org.kie.memorycompiler.resources.MemoryResourceStore
-
- All Implemented Interfaces:
ResourceStore
public class MemoryResourceStore extends java.lang.Object implements ResourceStore
-
-
Constructor Summary
Constructors Constructor Description 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)voidremove(org.drools.util.PortablePath resourcePath)voidwrite(org.drools.util.PortablePath resourcePath, byte[] pResourceData)voidwrite(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
-
Methods inherited from interface org.kie.memorycompiler.resources.ResourceStore
read, remove, write, write
-
-
-
-
Method Detail
-
write
public void write(org.drools.util.PortablePath resourcePath, byte[] pResourceData)- Specified by:
writein interfaceResourceStore
-
write
public void write(org.drools.util.PortablePath resourcePath, byte[] pResourceData, boolean createFolder)- Specified by:
writein interfaceResourceStore
-
read
public byte[] read(org.drools.util.PortablePath resourcePath)
- Specified by:
readin interfaceResourceStore
-
remove
public void remove(org.drools.util.PortablePath resourcePath)
- Specified by:
removein interfaceResourceStore
-
getResources
public java.util.Map<org.drools.util.PortablePath,byte[]> getResources()
-
-