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