Package org.apache.struts2.util.classloader

# Class AbstractResourceStore

java.lang.Object
org.apache.struts2.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
  Description
  `protected final File`
  `file`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AbstractResourceStore(File file)`

- ## Method Summary

  Modifier and Type
  Method
  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 org.apache.struts2.util.classloader.ResourceStore

  `read`

- ## Field Details

  - ### file

    protected final File file

- ## Constructor Details

  - ### AbstractResourceStore

    public AbstractResourceStore(File file)

- ## Method Details

  - ### 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`