*** empty log message ***
[cyberduck.git] / source / ch / cyberduck / Attic / connection / sftp / Handler.java
blobec8924dfc9bf35e2a6d9dbc56ea7fa644eeefa20
1 package ch.cyberduck.connection.sftp;
3 /*
4 * ch.cyberduck.connection.sftp.Handler.java
5 * Cyberduck
7 * $Header$
8 * $Revision$
9 * $Date$
11 * Copyright (c) 2003 David Kocher. All rights reserved.
12 * http://icu.unizh.ch/~dkocher/
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * Bug fixes, suggestions and comments should be sent to:
25 * dkocher@cyberduck.ch
28 import java.net.URL;
29 import java.net.URLConnection;
30 import java.net.URLStreamHandler;
32 public class Handler extends URLStreamHandler {
34 private static final int DEFAULT_PORT = 22;
36 public Handler() {
37 super();
40 public URLConnection openConnection(URL url) {
41 System.err.println("Not intended to be used.");
42 return null;
45 public int getDefaultPort() {
46 return DEFAULT_PORT;