public class UnixNewlinesResourceLoader extends Object implements ResourceLoader
| Constructor and Description |
|---|
UnixNewlinesResourceLoader(ResourceLoader delegate) |
public UnixNewlinesResourceLoader(ResourceLoader delegate)
public boolean exists(String path) throws IOException
ResourceLoaderexists in interface ResourceLoaderpath - resource path.true if the resource exists.IOException - when i/o error occurs while checking for resource existence.public String load(String path, String charset) throws IOException
ResourceLoaderload in interface ResourceLoaderpath - resource path.charset - character set name, valid with respect to
Charset.IOException - when i/o error occurs while loading the resource, or charset
is invalid.Copyright © 2014 Asual DZZD. All Rights Reserved.