import java.util.ArrayList;
import java.util.Vector;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;

public class Read_Taiwan_StockID 
{
	// Pattern expression
	private static Pattern p;
	private static Matcher m;
	private static String space_pattern = "^[0-9]";	
		
	public static ArrayList<String> code = new ArrayList<String>();
	public static ArrayList<String> name = new ArrayList<String>();
	
	
	public Read_Taiwan_StockID() throws Exception
	{
		String url = "http://isin.twse.com.tw/isin/C_public.jsp?strMode=2";
		// JSoup Example 2 - Reading HTML page from URL
		Document doc = Jsoup.connect(url).timeout(5000).get();
		doc.outputSettings().charset("UTF-8");
		
		String temp_str;	
		// div embed
		Elements div_embed_ele = doc.select("tr");
		
		boolean dig_check;
		for(int i=0; i<div_embed_ele.size(); i++)
		{
			// childNode()
			if(div_embed_ele.get(i).childNodeSize() == 7){
				//System.out.println(i+"	"+div_embed_ele.get(i).child(0));
				temp_str = div_embed_ele.get(i).child(0).toString().substring(22, div_embed_ele.get(i).child(0).toString().indexOf("</td>"));
				dig_check = Pattern_expression_digital(temp_str);
				if(dig_check == true){
					Separation(temp_str);
				}			
			}	
		}
	}
	
	private static boolean Pattern_expression_digital(String input)
	{
		boolean check = false;
		String temp;
		if(input.trim().length() < 5){
			temp = input.trim();
		}else{
			temp = input.substring(4, 5).trim();
		}
		//System.out.println(temp);
        p = Pattern.compile(space_pattern);
        m = p.matcher(temp);
        if(m.find()){
        	//System.out.println("Not Digital");
        	check = false;
        }else{
        	check = true;
        }
		
		return check;
	}
    
    private static void Separation(String input)
	{
		String code_temp = input.substring(0, 4);
		String name_temp = input.substring(5, input.length());
		
		code.add(code_temp);
		name.add(name_temp);
	}
    
    public ArrayList Return_name()
    {    	
    	return name;
    }
	
    public ArrayList Return_code()
    {
    	return code;
    }
    
}

@@ -271,23 +271,16 @@
 private 
-static 
 Pattern 
@@ -291,23 +291,16 @@
 private 
-static 
 Matcher 
@@ -311,23 +311,16 @@
 private 
-static 
 String s
@@ -348,39 +348,32 @@
 %5D%22;%09%0A%09%09%0A%09public 
-static 
 ArrayList%3CString
@@ -414,23 +414,16 @@
 %09public 
-static 
 ArrayLis
@@ -465,17 +465,16 @@
 ng%3E();%0A%09
-%0A
 %09%0A%09publi
@@ -1292,22 +1292,20 @@
 private 
-static
+void
  boolean
@@ -1785,14 +1785,12 @@
 ate 
-static
+void
  voi

Remove static