2 package saccubus.converter.classic.profile;
4 import org.apache.commons.lang.StringUtils;
10 public class Proxy implements yukihane.saccubus.converter.profile.ProxyProfile {
14 public static final Proxy NO_PROXY = new Proxy();
21 public Proxy(String host, int port) {
22 if (StringUtils.isEmpty(host) || port < 0 || port > 65535) {
23 throw new IllegalArgumentException("プロキシの設定が不適切です");
30 return this != NO_PROXY;
33 public String getHost() {
37 public int getPort() {