|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfitxersortida
public class fitxersortida
Constructor Summary | |
---|---|
fitxersortida(java.io.FileOutputStream fichero)
Escriu en un fitxero donat. |
|
fitxersortida(java.lang.String lugar)
Crea o obre un fitxer amb la ruta donada. |
Method Summary | |
---|---|
boolean |
cierra()
Tanca el fitxer obert. |
boolean |
crea(java.lang.String lugar)
Tanca el fitxer inicial y obre o crea un nou. |
boolean |
esc(java.lang.String txt)
Inserta el text. |
boolean |
escint(int txt)
|
boolean |
escln(java.lang.String txt)
Inserta el text y despres un retorno de carro. |
boolean |
ln()
Insertar un retorn de carro en el fitxer. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public fitxersortida(java.lang.String lugar) throws java.io.FileNotFoundException
lugar
- Direccio relativa del fitxer.
java.io.FileNotFoundException
- Si es produeix un error al crear el nou fitxer.public fitxersortida(java.io.FileOutputStream fichero) throws java.io.FileNotFoundException
fichero
- L'Stream del fitxer.
java.io.FileNotFoundException
- Si no es troba el fitxer.Method Detail |
---|
public boolean esc(java.lang.String txt)
txt
- Text ha insertar.
public boolean escint(int txt)
public boolean escln(java.lang.String txt)
txt
- Text ha insertar.
public boolean ln()
public boolean crea(java.lang.String lugar) throws java.io.FileNotFoundException
lugar
- Direccio relativa del fitxer.
java.io.FileNotFoundException
- Si es produeix un error al crear el nou fitxer.public boolean cierra()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |