📄 d0e4698d7708001c19f0d5298c7864ee
字号:
package deng;
public class Rule {
String name;
String IP;
String []direction= {"input"};
String sport;
String dport;
String protocol="all";
String strategy="accept";
public Rule(){};
public Rule(String name)
{
this.name=name;
}
public String[] getDirection() {
return direction;
}
public void setDirection(String[] direction) {
this.direction = direction;
}
public String getIP() {
return IP;
}
public void setIP(String ip) {
IP = ip;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getSport() {
return sport;
}
public void setSport(String sport) {
this.sport = sport;
}
public String getDport() {
return dport;
}
public void setDport(String dport) {
this.dport = dport;
}
public String getProtocol() {
return protocol;
}
public void setProtocol(String protocol) {
this.protocol = protocol;
}
public String getStrategy() {
return strategy;
}
public void setStrategy(String strategy) {
this.strategy = strategy;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -