01: package vicazh.hyperpool.stream.net.http.html;
02:
03: import java.util.*;
04:
05: /**
06: * The ftp service
07: *
08: * @author Victor Zhigunov
09: * @version 0.4.0
10: */
11: public class FtpService extends Service {
12: String page;
13:
14: Map<Object, String> map;
15:
16: int timeout;
17:
18: /**
19: * @param page
20: * directory list xsl
21: * @param map
22: * map types
23: * @param timeout
24: * socket timeout
25: */
26: public FtpService(String page, Map<Object, String> map, int timeout) {
27: this .page = page;
28: this .map = map;
29: this .timeout = timeout;
30: }
31:
32: public Connection getConnection() {
33: return new FtpConnection(this);
34: }
35:
36: }
|