I am beginner in Java and as such I am having difficulty in understanding a piece of code.At this SO post the first two lines create a connection instance:
/* Create a connection instance */
Connection conn = new Connection(hostname);
/* Now connect */
conn.connect();
I am unable to get which library needs to be imported to support this? The post mentions use of JSch
in the beginning but when I tried it then I couldn't where in JSch
Connection
class is declared? Any help will be useful for me.