for (int i = 0; i < argv.length; ++i) { String arg = argv[i];
for (String arg : argv) {
	public static String[] expandOptionFiles(				String[] argv, boolean ignoreComments, boolean ignoreBlankLines)				throws IOException {		ArrayList<String> resultList = new ArrayList<String>();		for (int i = 0; i < argv.length; ++i) {			String arg = argv[i];			if (!arg.startsWith("@")) {				resultList.add(arg);				continue;			}			BufferedReader reader = null;			try {				reader = new BufferedReader(new InputStreamReader(					new FileInputStream(arg.substring(1)), Charset.forName("UTF-8")));				String line;				while ((line = reader.readLine()) != null) {					line = line.trim();					if (ignoreComments && line.startsWith("#"))						continue;					if (ignoreBlankLines && line.equals(""))						continue;					resultList.add(line);				}			} finally {				if (reader != null) {					try {						reader.close();					} catch (IOException ignore) {						// Ignore					}				}			}		}		return resultList.toArray(new String[resultList.size()]);	}