/** * Saves the given IniList to the given file. * If the given file already exists, then the IniList will be appended. */ public void saveINI(IniList ini, String path) throws IOException { saveINI(ini, path, true); }
/** Saves the given IniList to the given file. */ public void saveINI(IniList ini, String path, boolean append) throws IOException { saveINI(ini, path, append, false); }
/** * Saves the given IniList to the given file. * If the given file already exists, then the IniList will be appended. * * @param ini the {@link IniList} to be written * @param path the path to a writable file on disk * @throws IOException if there is an error during writing */ public void saveINI(IniList ini, String path) throws IOException { saveINI(ini, path, true); }
/** * Saves the given IniList to the given file. * * @param ini the {@link IniList} to be written * @param path the path to a writable file on disk * @param append true if the INI data should be appended to * the end of the file if it already exists * @throws IOException if there is an error during writing */ public void saveINI(IniList ini, String path, boolean append) throws IOException { saveINI(ini, path, append, false); }