/** * Opens a buffered reader for the given resource. * * @param path the name of the resource to read * @return the BufferedReader corresponding to the named resource * @see #openTextResource(String) */ public static BufferedReader openTextResource(String path) { return openTextResource(path, IniParser.class); }
/** Opens a buffered reader for the given resource. */ public static BufferedReader openTextResource(String path) { return openTextResource(path, IniParser.class); }
/** * Parses the INI-style configuration data from the given resource, * using the given class to find the resource. */ public IniList parseINI(String path, Class<?> c) throws IOException { return parseINI(openTextResource(path, c)); }
/** Parses the INI-style configuration data from the given resource. */ public IniList parseINI(String path) throws IOException { return parseINI(openTextResource(path)); }
/** * Parses the INI-style configuration data from the given resource. * * @param path the name of the resource to read * @return the IniList parsed from the named resource * @see #openTextResource(String) * @throws IOException if the resource cannot be read */ public IniList parseINI(String path) throws IOException { return parseINI(openTextResource(path)); }
/** * Parses the INI-style configuration data from the given resource, * using the given class to find the resource. * * @param path the name of the resource to read * @param c the Class to use for finding the named resource * @return the IniList parsed from the named resource * @see #openTextResource(String, Class) * @throws IOException if the resource cannot be read */ public IniList parseINI(String path, Class<?> c) throws IOException { return parseINI(openTextResource(path, c)); }