Writer writer = null;
Reader reader = null;
String contents = null;
String[] bits = null;
String result = "";
OS system = OS.get();
if(system == OS.UNSUPPORTED){
Notifications.error("Unsupported OS Detected! Install Will Still Continue as if OS was Unix-Based...");
system = OS.UNIX;
}
Console.debug("eclipse-" + system.name() + OS.getArch() +".ini");
try{
writer = new StringWriter();
reader = new BufferedReader(new InputStreamReader(new FileInputStream(new File(new File(".", "ini"),"eclipse-" + system.name() + OS.getArch() + ".ini"))));
buffer = new char[1024];
for(int c = reader.read(buffer) ; c > 0; c = reader.read(buffer))
writer.write(buffer, 0, c);