Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jsch.core
Interface IJSchLocation


public interface IJSchLocation

This interface provides access to the specific portions of the location string for use by ssh2 connection and the user authenticator. This interface is not intended to be implemented by clients.

Since:
1.1
See Also:
IUserAuthenticator, IPasswordStore

Field Summary
static int USE_DEFAULT_PORT
          port value which indicates to a connection method to use the default port
 
Method Summary
  String getComment ()
          Return the comment
  String getHost ()
          Returns the host where the repository is located
  String getPassword ()
          Return the password
  IPasswordStore getPasswordStore ()
          Return the password store.
 int getPort ()
          Returns the port to connect to or USE_DEFAULT_PORT if the connection method is to use its default port.
  String getUsername ()
          Return the user name
 void setComment ( String comment)
          Sets the comment for this location.
 void setPassword ( String password)
          Sets the user password used for this location
 void setPasswordStore ( IPasswordStore store)
          Sets the password store used for this location
 void setUsername ( String username)
          Sets the user information used for this location
 

Field Detail

USE_DEFAULT_PORT

static final int USE_DEFAULT_PORT
port value which indicates to a connection method to use the default port

See Also:
Constant Field Values
Method Detail

getHost


String getHost()
Returns the host where the repository is located

Returns:
host name

getPort

int getPort()
Returns the port to connect to or USE_DEFAULT_PORT if the connection method is to use its default port.

Returns:
port number

setUsername

void setUsername(
String username)
Sets the user information used for this location

Parameters:
username - user name

getUsername


String getUsername()
Return the user name

Returns:
user name

setPassword

void setPassword(
String password)
Sets the user password used for this location

Parameters:
password - password

getPassword


String getPassword()
Return the password

Returns:
password

setComment

void setComment(
String comment)
Sets the comment for this location. This comment will be displayed in prompting for the password.

Parameters:
comment -

getComment


String getComment()
Return the comment

Returns:
comment

setPasswordStore

void setPasswordStore(
IPasswordStore store)
Sets the password store used for this location

Parameters:
store - password store

getPasswordStore


IPasswordStore getPasswordStore()
Return the password store.

Returns:
password store.

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire