|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--tvouriot.lib.io.Fichiers
Classe implantant des fonctions sur les fichiers.
Constructor Summary | |
Fichiers()
|
Method Summary | |
static void |
openFile(javax.swing.JTextArea txt,
java.io.File f)
Fonction qui lit le contenu d'un fichier et l'affiche dans une zone de texte |
static void |
saveFile(javax.swing.JTextArea txt,
java.io.File f)
Fonction qui créé un fichier avec le texte d'une zone de texte |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Fichiers()
Method Detail |
public static void openFile(javax.swing.JTextArea txt, java.io.File f)
txt
- zone de texte ou sera affiché le fichierf
- fichier à lirepublic static void saveFile(javax.swing.JTextArea txt, java.io.File f)
txt
- zone de textef
- fichier
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |