public class Site extends Object implements AutoCloseable
| Constructor and Description |
|---|
Site(Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
com.jcraft.jsch.Session |
getSession() |
int |
getSSHRetries() |
int |
getSSHTimeout() |
URL |
getTunnelURL() |
InputStream |
openURL(String relativePath) |
void |
setSession(com.jcraft.jsch.Session session) |
void |
setSSHRetries(int sshRetries) |
void |
setSSHTimeout(int sshTimeout) |
void |
setTunnelURL(URL tunnelURL) |
public Site(Properties properties) throws MalformedURLException, com.jcraft.jsch.JSchException
MalformedURLExceptioncom.jcraft.jsch.JSchExceptionpublic com.jcraft.jsch.Session getSession()
public void setSession(com.jcraft.jsch.Session session)
public URL getTunnelURL()
public void setTunnelURL(URL tunnelURL)
public int getSSHTimeout()
public final void setSSHTimeout(int sshTimeout)
public int getSSHRetries()
public final void setSSHRetries(int sshRetries)
public InputStream openURL(String relativePath) throws MalformedURLException, IOException
MalformedURLExceptionIOExceptionpublic void close()
close in interface AutoCloseableCopyright © 2024 LSST. All rights reserved.