org.apache.commons.jci.stores
Class MemoryResourceStore

java.lang.Object
  extended by org.apache.commons.jci.stores.MemoryResourceStore
All Implemented Interfaces:
ResourceStore

public final class MemoryResourceStore
extends Object
implements ResourceStore

Store just in memory

Author:
tcurdt

Constructor Summary
MemoryResourceStore()
           
 
Method Summary
 String[] list()
          Deprecated.  
 byte[] read(String pResourceName)
           
 void remove(String pResourceName)
           
 String toString()
           
 void write(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(String pResourceName)
Specified by:
read in interface ResourceStore

write

public void write(String pResourceName,
                  byte[] pData)
Specified by:
write in interface ResourceStore

remove

public void remove(String pResourceName)
Specified by:
remove in interface ResourceStore

list

@Deprecated
public String[] list()
Deprecated. 


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004–2013 The Apache Software Foundation. All rights reserved.