Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!aioe.org!.POSTED.0kayj7tz6aKh+cqxW+iEaw.user.gioia.aioe.org!not-for-mail |
|---|---|
| From | "Dr.UgoGagliardelli" <do.not.spam@me.please> |
| Newsgroups | it.comp.java |
| Subject | Re: Il testo non va a capo |
| Date | Wed, 5 Jun 2019 08:30:56 +0200 |
| Organization | Aioe.org NNTP Server |
| Lines | 14 |
| Message-ID | <qd7nlb$1jsi$1@gioia.aioe.org> (permalink) |
| References | <qd6h80$f45$1@gioia.aioe.org> |
| NNTP-Posting-Host | 0kayj7tz6aKh+cqxW+iEaw.user.gioia.aioe.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-15; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Complaints-To | abuse@aioe.org |
| User-Agent | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
| X-Antivirus-Status | Clean |
| X-Antivirus | Avast (VPS 190604-6, 04/06/2019), Outbound message |
| Content-Language | it-IT |
| X-Notice | Filtered by postfilter v. 0.9.2 |
| Xref | csiph.com it.comp.java:9295 |
Show key headers only | View raw
Il 04.06.2019 21.36, Pino ha scritto: > Leggo il contenuto di un file txt ,che è scritto bene e le righe vanno a > capo correttamente ( invatti se lo visualizzo nella console di eclipse > il testo è ok). > Se invece uso lo stesso codice ma il testo la scrivo in un file txt con > la classe printwriter,me lo scrive tutto su una unica riga! Non va a capo! > > ( uso il ciclo While ( hasNext() ) per leggere tutte le righe del testo ). > > Grazie Che metodo usi per scrivere? Che classe/metodo usi per leggere? PrintWriter ha diversi metodi print, che scrivono paripari e diversi metodi println che aggiungono il crlf in ambiente windows e lf in ambiente x like.
Back to it.comp.java | Previous | Next — Previous in thread | Next in thread | Find similar
Il testo non va a capo Pino <utr1utr@gmail.com> - 2019-06-04 21:36 +0200
Re: Il testo non va a capo "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2019-06-05 08:30 +0200
Re: Il testo non va a capo Pino <utr1utr@gmail.com> - 2019-06-05 20:52 +0200
csiph-web