@@ -0,0 +1,2480 @@
+package com.example;%0A%0Aimport java.util.ArrayList;%0Aimport java.io.IOException;%0A%0Aimport com.blogspot.aptgetmoo.dhjclient.item.ItemFinder;%0Aimport com.blogspot.aptgetmoo.dhjclient.item.ItemType;%0Aimport com.blogspot.aptgetmoo.dhjclient.item.Item;%0Aimport com.blogspot.aptgetmoo.dhjclient.item.ResultPage;%0Aimport com.blogspot.aptgetmoo.dhjclient.company.CompanyFinder;%0Aimport com.blogspot.aptgetmoo.dhjclient.company.CompanyPage;%0Aimport com.blogspot.aptgetmoo.dhjclient.company.Company;%0A%0Aclass Dhj %7B%0A%0A    public static void main(String%5B%5D args) throws IOException %7B%0A        Dhj dhj = new Dhj();%0A        dhj.printSearchResult(args%5B0%5D);%0A    %7D%0A%0A    public void printSearchResult(final String keyword) throws IOException %7B%0A        ItemFinder itemFinder = new ItemFinder(new ResultPage());%0A        ItemType%5B%5D types = ItemType.values();%0A%0A        for (ItemType type : types) %7B%0A            ArrayList%3CItem%3E items = itemFinder.find(keyword, type, 1);%0A%0A            System.out.println(type.getName());%0A            System.out.println(%22----------------%5Cn%22);%0A%0A            for (Item item : items) %7B%0A                printItem(item);%0A                System.out.println(%22%5Ctcompany:-%22);%0A                printCompany(item.itemCompanyCode);%0A                System.out.println();%0A            %7D%0A%0A            System.out.println();%0A        %7D%0A    %7D%0A%0A    public void printItem(Item item) %7B%0A        System.out.println(%22%5Ct%22 + item.itemSequence + %22) name: %22 + item.itemName);%0A        System.out.println(%22%5Ctcomp-code: %22 + item.itemCompanyCode);%0A        System.out.println(%22%5Ctcomp-name: %22 + item.itemCompanyName);%0A        System.out.println(%22%5Ctbrand: %22 + item.itemBrand);%0A        System.out.println(%22%5Ctexpiry: %22 + item.itemExpiryDate);%0A        System.out.println(%22%5Ctseq: %22 + item.itemSequence);%0A    %7D%0A%0A    public void printCompany(String compCode) throws IOException %7B%0A        CompanyFinder comFinder = new CompanyFinder(new CompanyPage());%0A        Company comp = comFinder.find(compCode);%0A%0A        System.out.println(%22%5Ctcode: %22 + comp.code);%0A        System.out.println(%22%5Ctname: %22 + comp.name);%0A        System.out.println(%22%5Ctweb: %22 + comp.web);%0A        System.out.println(%22%5Ctaddress: %22 + comp.address.replace(%22%5Cn%22, %22 %22));%0A        System.out.println(%22%5Ctphone: %22 + comp.phone);%0A        System.out.println(%22%5Ctfax: %22 + comp.fax);%0A        System.out.println(%22%5Ctemail: %22 + comp.email);%0A        System.out.println(%22%5CtjakimOfficer: %22 + comp.jakimOfficer);%0A        System.out.println(%22%5CtjakimRefNo: %22 + comp.jakimRefNo);%0A    %7D%0A%0A%7D%0A

Add example code