Package org.apache.struts2.util.classloader

# Class JarResourceStore

java.lang.Object
org.apache.struts2.util.classloader.AbstractResourceStore
org.apache.struts2.util.classloader.JarResourceStore

All Implemented Interfaces:
  `ResourceStore`

public class JarResourceStore extends AbstractResourceStore
Read resources from a jar file

- ## Field Summary

  ### Fields inherited from class org.apache.struts2.util.classloader.AbstractResourceStore

  `file`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `JarResourceStore(File file)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static long`
  `copy(InputStream input, OutputStream output)`
  `byte[]`
  `read(String pResourceName)`

  ### Methods inherited from class org.apache.struts2.util.classloader.AbstractResourceStore

  `closeQuietly, toString, write`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### JarResourceStore

    public JarResourceStore(File file)

- ## Method Details

  - ### read

    public byte[] read(String pResourceName)

  - ### copy

    public static long copy(InputStream input, OutputStream output) throws IOException
    Throws:
      `IOException`