{"id":15,"date":"2005-06-14T20:02:54","date_gmt":"2005-06-14T18:02:54","guid":{"rendered":"https:\/\/www.dont-panic.cc\/capi\/?p=15"},"modified":"2006-04-29T19:37:32","modified_gmt":"2006-04-29T18:37:32","slug":"faq-java-console-handling","status":"publish","type":"post","link":"https:\/\/www.dont-panic.cc\/capi\/2005\/06\/14\/faq-java-console-handling\/","title":{"rendered":"FAQ: Java Console Handling"},"content":{"rendered":"<p>As it is one of the FAQs on every Java newsgroup or Java Mailinglists: &#8220;How to handle console?&#8221;<\/p>\n<p>I came across a nice library that supports console operations on Windows, Linux and Mac OS: <a href=\"http:\/\/jline.sourceforge.net\/\">JLine<\/a>.<\/p>\n<p>Check it out, if you really need to work with the console on the mentioned platforms. The libarary works using native features, but I find the handling quite nice: the required DLL for Windows for instance is dynamically extracted from the JAR and loaded, so there is no need for a special installation.<\/p>\n<p>JLine does not provide curses features at the moment, but it is a good approach if you need to read a password from standard in.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As it is one of the FAQs on every Java newsgroup or Java Mailinglists: &#8220;How to handle console?&#8221; I came across a nice library that supports console operations on Windows, Linux and Mac OS: JLine. Check it out, if you really need to work with the console on the mentioned platforms. The libarary works using &hellip; <a href=\"https:\/\/www.dont-panic.cc\/capi\/2005\/06\/14\/faq-java-console-handling\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;FAQ: Java Console Handling&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[57,225,21,58,41],"class_list":["post-15","post","type-post","status-publish","format-standard","hentry","category-development","tag-console","tag-development","tag-java","tag-jni","tag-library"],"_links":{"self":[{"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/posts\/15","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/comments?post=15"}],"version-history":[{"count":0,"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/posts\/15\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/media?parent=15"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/categories?post=15"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dont-panic.cc\/capi\/wp-json\/wp\/v2\/tags?post=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}