com.opensymphony.xwork2.util.classloader
Class JarResourceStore
java.lang.Object
com.opensymphony.xwork2.util.classloader.JarResourceStore
- All Implemented Interfaces:
- ResourceStore
public class JarResourceStore
- extends Object
- implements ResourceStore
Read resources from a jar file
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JarResourceStore
public JarResourceStore(File file)
write
public void write(String pResourceName,
byte[] pResourceData)
- Specified by:
write
in interface ResourceStore
read
public byte[] read(String pResourceName)
- Specified by:
read
in interface ResourceStore
copy
public static long copy(InputStream input,
OutputStream output)
throws IOException
- Throws:
IOException
Copyright © 2009 OpenSymphony. All Rights Reserved.