add getCodeList() method as per comment on java.net