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