Package net.i2p.i2ptunnel.irc
Class IRCFilter
java.lang.Object
net.i2p.i2ptunnel.irc.IRCFilter
Static methods to filter individual lines.
Moved from I2PTunnelIRCClient.java
- Since:
- 0.8.9
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
inboundFilter
(String s, StringBuffer expectedPong, DCCHelper helper) Modify or filter a single inbound line.static String
outboundFilter
(String s, StringBuffer expectedPong, DCCHelper helper) Modify or filter a single outbound line.
-
Constructor Details
-
IRCFilter
IRCFilter()
-
-
Method Details
-
inboundFilter
Modify or filter a single inbound line.- Parameters:
helper
- may be null- Returns:
- the original or modified line, or null if it should be dropped.
-
outboundFilter
Modify or filter a single outbound line.- Parameters:
helper
- may be null- Returns:
- the original or modified line, or null if it should be dropped.
-