Enchanter
· Enchanter is a small library that helps you script SSH/Telnet sessions in a manner similar to Expect.
It also comes with a Maven plugin to setup connection and invoke your script(s) using JSR-223 which is part of Java 1.6
Download JD-GUI to open JAR file and explore Java source code file (.class .java)
Click menu "File → Open File..." or just drag-and-drop the JAR file in the JD-GUI window enchanter-1.0-beta-1.jar file.
Once you open a JAR file, all the java classes in the JAR file will be displayed.