Article View: es.comp.lenguajes.java
Article #17673Escribir Objetos en RandomAccessFile
From: David
Date: Sun, 29 Oct 2000 11:22
Date: Sun, 29 Oct 2000 11:22
9 lines
1493 bytes
1493 bytes
Hola!
Estamos intentando hacer una peque�a librer�a para leer, escribir y
modificar objetos en ficheros. El problema es que no nos basta con los
ObjectOutputStream ya que al crear flujos de salida se borra el fichero con
lo que no podemos leer y escribir en un mismo fichero, ni tampoco
posicionarnos para leer el objeto de una posici�n determinada. Con que en un
mismo fichero todos los objetos fueran de la misma clase ya nos basta,
�Alguien tiene alguna idea?
Gracias y un saludo
Technical Details
Message-ID:
<nMTK5.64897$dT1.1215871@telenews.teleline.es>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!xfer13.netnews.com!netnews.com!newspeer.monmouth.com!newsfeed.mad.ttd.net!telenews.teleline.es!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: 1116f3,52c5a775f520262e,start X-Google-Attributes: gid1116f3,public X-Google-ArrivalTime: 2000-10-29 03:33:19 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!xfer13.netnews.com!netnews.com!newspeer.monmouth.com!newsfeed.mad.ttd.net!telenews.teleline.es!not-for-mail From: "David" <davidb@jazzfree.com> Newsgroups: es.comp.lenguajes.java Subject: Escribir Objetos en RandomAccessFile Lines: 12 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: <nMTK5.64897$dT1.1215871@telenews.teleline.es> Date: Sun, 29 Oct 2000 11:22:59 GMT NNTP-Posting-Host: 212.106.240.39 X-Complaints-To: newsmaster@company.com X-Trace: telenews.teleline.es 972818579 212.106.240.39 (Sun, 29 Oct 2000 12:22:59 MET) NNTP-Posting-Date: Sun, 29 Oct 2000 12:22:59 MET Organization: Typhoon Authentication Testing Club