public class TextConverter
extends java.lang.Object
Constructor and Description |
---|
TextConverter(java.lang.String s)
Constructeur
|
Modifier and Type | Method and Description |
---|---|
void |
convert()
Convertit le fichier unix
file au format windows |
public TextConverter(java.lang.String s)
s
- l'adresse du fichier à convertirpublic void convert() throws java.io.FileNotFoundException, java.io.IOException
file
au format windows
Ajoute un byte 13 devant chaque byte 10
java.io.FileNotFoundException
- si file
n'existe pas
java.io.IOException
- si problème d'écriture ou de lecture du fichier