org.hibernate.validator.internal.util

## Class ResourceLoaderHelper

- java.lang.Object
- - org.hibernate.validator.internal.util.ResourceLoaderHelper

-     public final class ResourceLoaderHelper
      extends Object

  Helper methods for loading resource files
  Author:
    Hardy Ferentschik

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ResourceLoaderHelper()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static InputStream` | `getResettableInputStreamForPath(String path)` Returns an input stream for the given path, which supports the mark/reset contract.

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

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

- - ### Constructor Detail

    - #### ResourceLoaderHelper

          public ResourceLoaderHelper()

  - ### Method Detail

    - #### getResettableInputStreamForPath

          public static InputStream getResettableInputStreamForPath(String path)

      Returns an input stream for the given path, which supports the mark/reset contract.
      Parameters:
        `path` - The path of the requested input stream.
      Returns:
        An input stream for the given path or `null` if no such resource exists.
      See Also:
        `InputStream.markSupported()`

Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved