/** * Reads configuration. * * @param writeType write type * @param configType configuration type * @throws IOException thrown when read fails */ public static String readConfig(WriteReadType writeType, ConfigType configType) throws IOException { return readConfig(writeType, configType.getFileName()); }
/** * Writes configuration. * * @param config configuration String * @param writeType write type * @param configType configuration type * @throws IOException thrown when read fails */ public static void writeConfig(String config, WriteReadType writeType, ConfigType configType) throws IOException { writeConfig(config, writeType, configType.getFileName()); }