com.opensymphony.xwork2.util.classloader
Class FileResourceStore

java.lang.Object
  extended by com.opensymphony.xwork2.util.classloader.FileResourceStore
All Implemented Interfaces:
ResourceStore

public final class FileResourceStore
extends Object
implements ResourceStore

Reads a class from disk class taken from Apache JCI


Constructor Summary
FileResourceStore(File pFile)
           
 
Method Summary
 byte[] read(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

FileResourceStore

public FileResourceStore(File pFile)
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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 OpenSymphony. All Rights Reserved.