mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
23 lines
575 B
Java
23 lines
575 B
Java
public class ExtractMethods {
|
|
public void processLine(String line) {
|
|
newMethod(line);
|
|
|
|
|
|
}
|
|
|
|
private void newMethod(String line) {
|
|
//final Charset charset = myProcessHandler.getCharset();
|
|
final OutputStream outputStream = null;//myProcessHandler.getProcessInput();
|
|
try {
|
|
//byte[] bytes = (line + "\n").getBytes(charset.name());
|
|
byte[] bytes = (line + "\n").getBytes();
|
|
outputStream.write(bytes);
|
|
outputStream.flush();
|
|
}
|
|
catch (IOException e) {
|
|
// ignore
|
|
}
|
|
}
|
|
|
|
}
|