You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
672 B

1 year ago
1 year ago
  1. <h2> Copiar Fichero </h2>
  2. <p>Copiar un fichero y guargarlo en el directorio deseado</p>
  3. <p> >>Utilizamos la clase File para crear un instacia de la misma, con lo cual necesitamos indicar el directorio de origen para econtrarlo</p>
  4. <p> >> Leemos el fichero de origen con la clase FileInputStream y el fichero de destino con la clase FileOutpuStream </p>
  5. <p> Mostrar el resultado </p>
  6. <img src="https://public.db.files.1drv.com/y4mDhFvVMrsj4PJBHb39iUSi-esWzHiExR4seAmc2xWmggKweNRcqLSo7jxxB9JrbgQjQWuh-qy-8cQ_DGTi8gkIBUg7z58-JoqnH7cYoYMOcWOV_hkRW71sFp-GPt3hkhItG1Ui7yB1tbBYiTPA0eHitAHayhq3sTCTqgQTUaj3M1AEfMnW3L7gLlgdtMp51cBKN2Z2i-W0miM6LbUuz1Va2mtVLmXwm0gMSO0O3Zwidc"</img>