- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {BufferedReader b =
InputStream in;new BufferedReader(new InputStreamReader(in))
Reader in;new BufferedReader(in)
File file;new BufferedReader(new FileReader(file))
- Smart code suggestions by Codota
}
/** * Nightmares can result from using a path with a space in it! * This method will enclose in double-quotes if needed. * @param path * @return */ public static String quotePathIfNecessary(String path) { return quotePathIfNecessary(path, '"'); } /**
/** * Nightmares can result from using a path with a space in it! * This method will enclose in double-quotes if needed. * @param path * @return */ public static String quotePathIfNecessary(String path) { return quotePathIfNecessary(path, '"'); } /**
private String quote(String s) { return StringUtils.quotePathIfNecessary(s); }
command.add(StringUtils.quotePathIfNecessary(nodeDir));