Docsity
Docsity

Prepara tus exámenes
Prepara tus exámenes

Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity


Consigue puntos base para descargar
Consigue puntos base para descargar

Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium


Orientación Universidad
Orientación Universidad


Identificación de formatos de archivos binarios en Java, Ejercicios de Programación Java

Tipo de actividad con .csv, en la cual se realizan multiples esquemas en cuanto a programacion en java

Tipo: Ejercicios

2019/2020

Subido el 08/03/2020

Erasux
Erasux 🇨🇴

1 documento

1 / 1

Toggle sidebar

Esta página no es visible en la vista previa

¡No te pierdas las partes importantes!

bg1
Activity: Binary files
Develop a Java application that reads the contents of each of the files located in a given
folder, identify the format and assign the corresponding extension according to the
established file signature. The file formats that the application must recognize are:
File extension
File description
1
rar
RAR file format
2
7z
7-Zip file format
3
bmp
Bitmap image format
4
jpg
JPEG image format
5
png
PNG image format
6
gif
GIF image format
7
pdf
PDF document format
8
mp3
MP3 audio format
9
m4a
AAC audio format
10
zip
PKZIP file format
Generate an output file with the name Report.csvand the next structure:
Old filename
New filename

Vista previa parcial del texto

¡Descarga Identificación de formatos de archivos binarios en Java y más Ejercicios en PDF de Programación Java solo en Docsity!

Activity: Binary files

Develop a Java application that reads the contents of each of the files located in a given folder, identify the format and assign the corresponding extension according to the established file signature. The file formats that the application must recognize are: File extension File description 1 rar RAR file format 2 7 z 7 - Zip file format 3 bmp Bitmap image format 4 jpg JPEG image format 5 png PNG image format 6 gif GIF image format 7 pdf PDF document format 8 mp3 MP3 audio format 9 m4a AAC audio format 10 zip PKZIP file format Generate an output file with the name “Report.csv” and the next structure: Old filename New filename