org.apache.commons.javaflow.stores
Class TransformingResourceStore

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

public final class TransformingResourceStore
extends java.lang.Object
implements org.apache.commons.jci.stores.ResourceStore

Author:
tcurdt

Constructor Summary
TransformingResourceStore(org.apache.commons.jci.stores.ResourceStore pStore, ResourceTransformer[] pTransformers)
           
 
Method Summary
 byte[] read(java.lang.String resourceName)
           
 void remove(java.lang.String resourceName)
           
 java.lang.String toString()
           
 void write(java.lang.String resourceName, byte[] resourceData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransformingResourceStore

public TransformingResourceStore(org.apache.commons.jci.stores.ResourceStore pStore,
                                 ResourceTransformer[] pTransformers)
Method Detail

read

public byte[] read(java.lang.String resourceName)
Specified by:
read in interface org.apache.commons.jci.stores.ResourceStore

remove

public void remove(java.lang.String resourceName)
Specified by:
remove in interface org.apache.commons.jci.stores.ResourceStore

write

public void write(java.lang.String resourceName,
                  byte[] resourceData)
Specified by:
write in interface org.apache.commons.jci.stores.ResourceStore

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright 2004-2008 The Apache Software Foundation. All Rights Reserved.