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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceLoaderHelper
public ResourceLoaderHelper()
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-2013 Red Hat, Inc. All Rights Reserved