com.opensymphony.xwork2.util.classloader
Class FileResourceStore
java.lang.Object
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
LOG
private static final Logger LOG
root
private final File root
FileResourceStore
public FileResourceStore(File pFile)
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
closeQuietly
private void closeQuietly(InputStream is)
getFile
private File getFile(String pResourceName)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.