String [] limboTransactions = byteOut.toString().split("\n"); int[] trans = new int[limboTransactions.length]; for (int count = 0; count < limboTransactions.length; count++) trans[count] = Integer.parseInt(limboTransactions[count].trim());
StringTokenizer limboTransactions = new StringTokenizer(byteOut.toString(),"\n"); int[] trans = new int[limboTransactions.countTokens()]; int count = 0; while(limboTransactions.hasMoreTokens()) trans[count++] = Integer.parseInt(limboTransactions.nextToken().trim());
    public int[] getLimboTransactions() throws SQLException    {        ByteArrayOutputStream byteOut = new ByteArrayOutputStream();        setLogger(byteOut);        listLimboTransactions();        String [] limboTransactions = byteOut.toString().split("\n");        int[] trans = new int[limboTransactions.length];        for (int count = 0; count < limboTransactions.length; count++)        	trans[count] = Integer.parseInt(limboTransactions[count].trim());        return trans;    }