net.i2p.i2ptunnel.irc

## Class IRCFilter

- java.lang.Object
- - net.i2p.i2ptunnel.irc.IRCFilter

-     abstract class IRCFilter
      extends Object

  Static methods to filter individual lines. Moved from I2PTunnelIRCClient.java

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IRCFilter()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static 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.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### IRCFilter

          IRCFilter()

  - ### Method Detail

    - #### inboundFilter

          public static String inboundFilter(String s,
                                             StringBuffer expectedPong,
                                             DCCHelper helper)

      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

          public static String outboundFilter(String s,
                                              StringBuffer expectedPong,
                                              DCCHelper helper)

      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.