zoukankan      html  css  js  c++  java
  • CanalData

    package com.hgx.test.common;

    /**
    * CanalData
    *
    * @author sasou <admin@php-gene.com> web:http://www.php-gene.com/
    * @version 1.0.0
    */
    public final class CanalData {
    public String ip = "127.0.0.1";
    public int port = 11111;
    public String[] destination = null;
    public String username = "";
    public String password = "";
    public String filter = "";

    /**
    * @return the ip
    */
    public String getIp() {
    return ip;
    }

    /**
    * @param ip
    * the ip to set
    */
    public void setIp(String ip) {
    this.ip = ip;
    }

    /**
    * @return the port
    */
    public int getPort() {
    return port;
    }

    /**
    * @param port
    * the port to set
    */
    public void setPort(int port) {
    this.port = port;
    }

    /**
    * @return the destination
    */
    public String[] getDestination() {
    return destination;
    }

    /**
    * @param destination
    * the destination to set
    */
    public void setDestination(String destination) {
    this.destination = destination.split(",");
    }

    /**
    * @return the username
    */
    public String getUsername() {
    return username;
    }

    /**
    * @param username
    * the username to set
    */
    public void setUsername(String username) {
    this.username = username;
    }

    /**
    * @return the password
    */
    public String getPassword() {
    return password;
    }

    /**
    * @param password
    * the password to set
    */
    public void setPassword(String password) {
    this.password = password;
    }

    /**
    * @return the filter
    */
    public String getFilter() {
    return filter;
    }

    /**
    * @param filter
    * the filter to set
    */
    public void setFilter(String filter) {
    this.filter = filter;
    }

    }
  • 相关阅读:
    文件下载并删除
    程序输出
    什么是并发
    跨站脚本攻击为什么要过滤危险字符串
    正则表达式——极速入门
    输出的为X= 1 ,Y = 0;
    Eclipse+MyEclipse安装及环境配置
    J2EE有三个开发环境级。
    TCP和UDP的区别
    asp.net2.0导出pdf文件完美解决方案(转载)
  • 原文地址:https://www.cnblogs.com/heguoxiu/p/10135322.html
Copyright © 2011-2022 走看看