Package outils
Class TextConverter
java.lang.Object
outils.TextConverter
Classe permettant de convertir un fichier texte unix au format windows.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
convert()
Convertit le fichier unixfile
au format windows
-
Constructor Details
-
TextConverter
Constructeur- Parameters:
s
- l'adresse du fichier à convertir
-
-
Method Details
-
convert
Convertit le fichier unixfile
au format windowsAjoute un byte 13 devant chaque byte 10
- Throws:
FileNotFoundException
-si
file
n'existe pasIOException
-si problème d'écriture ou de lecture du fichier
-