author | Jaroslav Tulach <jaroslav.tulach@apidesign.org> |
Tue, 24 Feb 2015 11:12:53 +0100 | |
changeset 1787 | ea12a3bb4b33 |
parent 1512 | 5171ac3b4232 |
permissions | -rw-r--r-- |
jaroslav@1512 | 1 |
/** |
jaroslav@1512 | 2 |
* Back 2 Browser Bytecode Translator |
jaroslav@1787 | 3 |
* Copyright (C) 2012-2015 Jaroslav Tulach <jaroslav.tulach@apidesign.org> |
jaroslav@1512 | 4 |
* |
jaroslav@1512 | 5 |
* This program is free software: you can redistribute it and/or modify |
jaroslav@1512 | 6 |
* it under the terms of the GNU General Public License as published by |
jaroslav@1512 | 7 |
* the Free Software Foundation, version 2 of the License. |
jaroslav@1512 | 8 |
* |
jaroslav@1512 | 9 |
* This program is distributed in the hope that it will be useful, |
jaroslav@1512 | 10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
jaroslav@1512 | 11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
jaroslav@1512 | 12 |
* GNU General Public License for more details. |
jaroslav@1512 | 13 |
* |
jaroslav@1512 | 14 |
* You should have received a copy of the GNU General Public License |
jaroslav@1512 | 15 |
* along with this program. Look for COPYING file in the top folder. |
jaroslav@1512 | 16 |
* If not, see http://opensource.org/licenses/GPL-2.0. |
jaroslav@1512 | 17 |
*/ |
jaroslav@1512 | 18 |
package java.net; |
jaroslav@1512 | 19 |
|
jaroslav@1512 | 20 |
import java.io.IOException; |
jaroslav@1512 | 21 |
import java.io.InputStream; |
jaroslav@1512 | 22 |
|
jaroslav@1512 | 23 |
/** Fake signature of an existing Java class. |
jaroslav@1512 | 24 |
* @author Jaroslav Tulach |
jaroslav@1512 | 25 |
*/ |
jaroslav@1512 | 26 |
public abstract class URLConnection { |
jaroslav@1512 | 27 |
protected URL url; |
jaroslav@1512 | 28 |
public URLConnection(URL u) { |
jaroslav@1512 | 29 |
} |
jaroslav@1512 | 30 |
public abstract void connect() throws IOException; |
jaroslav@1512 | 31 |
public abstract InputStream getInputStream() throws IOException; |
jaroslav@1512 | 32 |
|
jaroslav@1512 | 33 |
} |