java - How to Print in Console Using com.strobel.decompiler.PlainTextOutput -


i using proycon library application, plaintextoutput class inside proycon library,

during googling have found code block given below.what means, can print console using code ?

com.strobel.decompiler.decompiler.decompile(          "d:\\buildconfig.class",new com.strobel.decompiler.plaintextoutput(new java.io.outputstreamwriter(system.out))); 

this seems oversight in implementation; it's not flushing writer you. try this:

final printwriter writer = new printwriter(system.out);  try {     com.strobel.decompiler.decompiler.decompile(         "d:\\buildconfig.class",         new com.strobel.decompiler.plaintextoutput(writer)     ); } {     writer.flush(); } 

i'll fixing next procyon release.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -