LEFT | RIGHT |
1 /* | 1 /* |
2 * This file is part of Adblock Plus <http://adblockplus.org/>, | 2 * This file is part of Adblock Plus <http://adblockplus.org/>, |
3 * Copyright (C) 2006-2014 Eyeo GmbH | 3 * Copyright (C) 2006-2014 Eyeo GmbH |
4 * | 4 * |
5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
8 * | 8 * |
9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 * GNU General Public License for more details. | 12 * GNU General Public License for more details. |
13 * | 13 * |
14 * You should have received a copy of the GNU General Public License | 14 * You should have received a copy of the GNU General Public License |
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. | 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
16 */ | 16 */ |
17 | 17 |
18 package org.adblockplus.android.compat; | 18 package org.adblockplus.android.compat; |
19 | 19 |
20 import android.content.Context; | 20 import android.content.Context; |
21 import android.net.ConnectivityManager; | 21 import android.net.ConnectivityManager; |
22 | 22 |
23 /** | 23 /** |
24 * Compatibility wrapper for various {@code ProxyProperties}. | 24 * Compatibility wrapper for various {@code ProxyProperties}. |
25 * | |
26 * @author rjeschke | |
27 */ | 25 */ |
28 public class ProxyProperties | 26 public class ProxyProperties |
29 { | 27 { |
30 private final static String DEFAULT_EXCL_LIST = null; | 28 private final static String DEFAULT_EXCL_LIST = null; |
31 | 29 |
32 private final String host; | 30 private final String host; |
33 private final int port; | 31 private final int port; |
34 private final String exclusionList; | 32 private final String exclusionList; |
35 | 33 |
36 public ProxyProperties(final String host, final int port, final String excl) | 34 public ProxyProperties(final String host, final int port, final String excl) |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 } | 153 } |
156 } | 154 } |
157 else | 155 else |
158 { | 156 { |
159 sb.append("[ProxyProperties.mHost == null]"); | 157 sb.append("[ProxyProperties.mHost == null]"); |
160 } | 158 } |
161 | 159 |
162 return sb.toString(); | 160 return sb.toString(); |
163 } | 161 } |
164 } | 162 } |
LEFT | RIGHT |