com.opensymphony.xwork2.util.classloader

## Class JarResourceStore

- java.lang.Object
- - com.opensymphony.xwork2.util.classloader.AbstractResourceStore
  - - com.opensymphony.xwork2.util.classloader.JarResourceStore

- All Implemented Interfaces:
    ResourceStore

      public class JarResourceStore
      extends AbstractResourceStore

  Read resources from a jar file

- - ### Field Summary

    - ### Fields inherited from class com.opensymphony.xwork2.util.classloader.AbstractResourceStore

      `file`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `JarResourceStore(File file)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static long` | `copy(InputStream input, OutputStream output)`
    `byte[]` | `read(String pResourceName)`

    - ### Methods inherited from class com.opensymphony.xwork2.util.classloader.AbstractResourceStore

      `closeQuietly, toString, write`

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

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

- - ### Constructor Detail

    - #### JarResourceStore

          public JarResourceStore(File file)

  - ### Method Detail

    - #### read

          public byte[] read(String pResourceName)

    - #### copy

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

      Throws:
        `IOException`

Copyright © 2000–2023 Apache Software Foundation. All rights reserved.