|
||||||||||
| 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.
| Field Summary | |
|---|---|
private java.io.File |
file
fichier à convertir |
| Constructor Summary | |
|---|---|
TextConverter(java.lang.String s)
Constructeur |
|
| Method Summary | |
|---|---|
void |
convert()
Convertit le fichier unix file au format windows
Ajoute un byte 13 devant chaque byte 10 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.io.File file
| Constructor Detail |
|---|
public TextConverter(java.lang.String s)
s - l'adresse du fichier à convertir| Method 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 | |||||||||