Use j7 methods.

Change-Id: I7304aa4392c835efa700d76676213f3294307b8f
Reviewed-on: http://gerrit.dmdirc.com/4049
Reviewed-by: Chris Smith <chris@dmdirc.com>
Automatic-Compile: DMDirc Build Manager