com.mindtree.techworks.insight.download
Class HTTPFileset

java.lang.Object
  extended by com.mindtree.techworks.insight.download.Fileset
      extended by com.mindtree.techworks.insight.download.HTTPFileset

public class HTTPFileset
extends Fileset

This is a specialization of the Fileset class to contain information such as the URL, authentication, etc., about a HTTPFileset.

Version:
$Revision: 27 $ $Date: 2007-12-16 04:58:03 -0700 (Sun, 16 Dec 2007) $
Author:
Bindul Bhowmik
See Also:
Fileset

Field Summary
 
Fields inherited from class com.mindtree.techworks.insight.download.Fileset
FTP_FILESET, HTTP_FILESET, LOCAL_FILESET, SFTP_FILESET
 
Constructor Summary
HTTPFileset(java.lang.String filesetName)
          Constructs a new FTPFileset object with just the name of the fileset.
HTTPFileset(java.lang.String filesetName, boolean isAuthenticationRequired, java.lang.String userName, java.lang.String password, boolean ignoreProxy)
          Constructs a new FTPFileset object with just the name of the fileset.
 
Method Summary
 java.lang.String getPassword()
           
 java.lang.String getUserName()
           
 boolean isAuthenticationRequired()
           
 boolean isIgnoreProxy()
           
 void setAuthenticationRequired(boolean isAuthenticationRequired)
           
 void setIgnoreProxy(boolean ignoreProxy)
           
 void setPassword(java.lang.String password)
           
 void setUserName(java.lang.String userName)
           
 
Methods inherited from class com.mindtree.techworks.insight.download.Fileset
addFile, getFile, getFileCount, getFileList, getFilesetName, getType, getTypeString, iterateFiles, setFileList, setTypeString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HTTPFileset

public HTTPFileset(java.lang.String filesetName)
Constructs a new FTPFileset object with just the name of the fileset.

Parameters:
filesetName - The name of the fileset.

HTTPFileset

public HTTPFileset(java.lang.String filesetName,
                   boolean isAuthenticationRequired,
                   java.lang.String userName,
                   java.lang.String password,
                   boolean ignoreProxy)
Constructs a new FTPFileset object with just the name of the fileset.

Parameters:
filesetName - The name of the fileset
isAuthenticationRequired - If authentication is required on the Host
userName - The username for authentication
password - Password for authentication
ignoreProxy - If the connection is to be made ignoring proxy
Method Detail

isIgnoreProxy

public boolean isIgnoreProxy()
Returns:
Returns the ignoreProxy.

setIgnoreProxy

public void setIgnoreProxy(boolean ignoreProxy)
Parameters:
ignoreProxy - The ignoreProxy to set.

isAuthenticationRequired

public boolean isAuthenticationRequired()
Returns:
Returns the isAuthenticationRequired.

setAuthenticationRequired

public void setAuthenticationRequired(boolean isAuthenticationRequired)
Parameters:
isAuthenticationRequired - The isAuthenticationRequired to set.

getPassword

public java.lang.String getPassword()
Returns:
Returns the password.

setPassword

public void setPassword(java.lang.String password)
Parameters:
password - The password to set.

getUserName

public java.lang.String getUserName()
Returns:
Returns the userName.

setUserName

public void setUserName(java.lang.String userName)
Parameters:
userName - The userName to set.


Copyright © 2003-2008 MindTree Consulting Ltd.. All Rights Reserved.