com.opensymphony.xwork2.util.classloader

## Class AbstractResourceStore

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

- All Implemented Interfaces:
    ResourceStore
  Direct Known Subclasses:
    FileResourceStore, JarResourceStore

      public abstract class AbstractResourceStore
      extends Object
      implements ResourceStore

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected File` | `file`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractResourceStore(File file)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `closeQuietly(InputStream is)`
    `String` | `toString()`
    `void` | `write(String pResourceName, byte[] pResourceData)`

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

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

    - ### Methods inherited from interface com.opensymphony.xwork2.util.classloader.ResourceStore

      `read`

- - ### Field Detail

    - #### file

          protected final File file

  - ### Constructor Detail

    - #### AbstractResourceStore

          public AbstractResourceStore(File file)

  - ### Method Detail

    - #### closeQuietly

          protected void closeQuietly(InputStream is)

    - #### write

          public void write(String pResourceName,
                   byte[] pResourceData)

      Specified by:
        `write` in interface `ResourceStore`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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