/*
 * Copyright 2014 Luigi.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package cryptohelper.proxy;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;

/**
 *
 * @author Luigi
 */
public class testProxy1 {

    public static void main(String[] args) {

        ArrayList<Integer> list = new ArrayList<Integer>();
        File file = new File("bgItaliano.txt");
        BufferedReader reader = null;

        try {
            FileInputStream fis = new FileInputStream(file);
            char current;
            while (fis.available() > 0) {
                current = (char) fis.read();
                if(current != '\t')
                    System.out.print(current);
            }
        } catch (IOException e) {
            e.printStackTrace();
        }

        /*
        try {
            reader = new BufferedReader(new FileReader(file));
            String text = null;

            int i;
            while ((text = reader.readLine()) != null) {
                System.out.println(text);
                i = ((int) Integer.parseInt(text));
                System.out.println(i);
            }
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            try {
                if (reader != null) {
                    reader.close();
                }
            } catch (IOException e) {
            }
        }
*/
//print out the list
        System.out.println(list);

    }

}

@@ -721,75 +721,8 @@
 m;%0D%0A
-import java.io.FileNotFoundException;%0D%0Aimport java.io.FileReader;%0D%0A
 impo
@@ -746,16 +746,16 @@
 ption;%0D%0A
+
 import j
@@ -1141,16 +1141,104 @@
 rrent;%0D%0A
+            String numero = %22%22;%0D%0A            String numeroCompleto = %22%22;%0D%0A            %0D%0A
         
@@ -1336,16 +1336,17 @@
       if
+ 
 (current
@@ -1354,18 +1354,22 @@
 != '%5Ct')
-%0D%0A
+ %7B%0D%0A//
         
@@ -1404,24 +1404,312 @@
 (current);%0D%0A
+                    numero = %22%22+current;%0D%0A                    numeroCompleto = numeroCompleto + numero; %0D%0A                %7D%0D%0A                else if (current == '%5Ct') %7B%0D%0A                    System.out.println(numeroCompleto);%0D%0A                    numeroCompleto = %22%22;%0D%0A                %7D%0D%0A
             

Revert "Merge origin/master"