public interface ResourceLoader
boolean exists(String resource, String[] paths) throws IOException
resource - relative resource file path.paths - paths to search for resource under.true if the resource exists.IOException - when i/o error occurs while checking for resource existence.String load(String resource, String[] paths, String charset) throws IOException
resource - relative resource file path.paths - paths to search for resource under.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.