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 java.lang.Object
implements ResourceStore

Reads a class from disk class taken from Apache JCI


Constructor Summary
FileResourceStore(java.io.File pFile)
           
 
Method Summary
 byte[] read(java.lang.String pResourceName)
           
 java.lang.String toString()
           
 void write(java.lang.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(java.io.File pFile)
Method Detail

read

public byte[] read(java.lang.String pResourceName)
Specified by:
read in interface ResourceStore

write

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

toString

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


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.