|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoutils.TextConverter
public class TextConverter
Classe permettant de convertir un fichier texte unix au format windows.
Constructor Summary | |
---|---|
TextConverter(java.lang.String s)
Constructeur |
Method Summary | |
---|---|
void |
convert()
Convertit le fichier unix file au format windows |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextConverter(java.lang.String s)
s
- l'adresse du fichier à convertirMethod Detail |
---|
public 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |