Ola,com faco pra colcar o conteudo de um arquivo em binario dentro de uma Array 2D?A seguir o que tenho do codigoatre agora…
++++++++++++++++++++++++++++++++++++++++
import java.io.*;
public class array4
{
public static void main(String args[])
{
double[][] points = new double[179][254];
int i = 0, j = 0;
FileReader data = null;
try
{
data = new FileReader(new File("Nutz_Esri.flt"));//open and read file
BufferedReader eye = new BufferedReader(data);
for (i = 0; i < 179; i++)
for (j = 0; j < 254; j++)
{
// points[i][j] =
//Copy file into a Array of Array
}
}
catch (FileNotFoundException ex)
{
System.out.println("Unable to open file!!!");//ERROR MESSAGE
// missing CLOSE FILE
}
}
}
Obrigado,
Tiago