FtpService.java :  » Net » hyperpool-0.4.0 » vicazh » hyperpool » stream » net » http » html » Java Open Source

Java Open Source » Net » hyperpool 0.4.0 
hyperpool 0.4.0 » vicazh » hyperpool » stream » net » http » html » FtpService.java
package vicazh.hyperpool.stream.net.http.html;

import java.util.*;

/**
 * The ftp service
 * 
 * @author Victor Zhigunov
 * @version 0.4.0
 */
public class FtpService extends Service {
  String page;

  Map<Object, String> map;

  int timeout;

  /**
   * @param page
   *            directory list xsl
   * @param map
   *            map types
   * @param timeout
   *            socket timeout
   */
  public FtpService(String page, Map<Object, String> map, int timeout) {
    this.page = page;
    this.map = map;
    this.timeout = timeout;
  }

  public Connection getConnection() {
    return new FtpConnection(this);
  }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.