final URI uri ;
try {
uri = m_oEpr.getURI();
} catch (URISyntaxException e) {
throw new RemoteFileSystemException(e);
}
m_sFtpServer = uri.getHost();
String[] sa = null;
if (uri.getUserInfo() != null)
sa = uri.getUserInfo().split(":");
final int saLen = (sa == null ? 0 : sa.length) ;
switch(saLen)
{
case 2:
m_sPasswd = sa[1] ;
case 1:
m_sUser = sa[0] ;
}
m_sRemoteDir = uri.getPath();
if ((m_sRemoteDir == null) || (m_sRemoteDir.equals("")))
m_sRemoteDir = FtpUtils.getRemoteDir();
m_iPort = uri.getPort();
m_sLocalDir = FtpUtils.getLocalDir();
try
{
m_oCertificate = p_oP.getCertificateURI() ;
}
catch (final URISyntaxException urise)
{
throw new RemoteFileSystemException(urise);
}
m_sPassphrase = p_oP.getPassphrase() ;
configTreeFromEpr();