Article View: borland.public.jbuilder.java.language
Article #16142Access to Structured Files
From: Franz-Otto Wiehenstroth
Date: Tue, 30 Mar 1999 00:00
Date: Tue, 30 Mar 1999 00:00
27 lines
1431 bytes
1431 bytes
Hi, in a programing language like Pascal or COBOL you have a logical structure called file. When you get access to this structure you either write or read a logical structure called record to or from a file. Both the file and the record are declared as variables in the program, variables with the structure of the record. It doesn't matter how many bytes this written or read record has, you only get access to the file by the declared logical record. My Question, is there a similar way to handle files in JAVA? Is there a possibility to to position on a certain record, something like a record-pointer? If yes, how can I do it? Who con show me a example program in JAVA? Second question, if there is an existing structured file created with a PASCAL- or COBOL-Program (e.g. a simple sequential file), how can i get access to such a file? I would be glad, if someone could help me FOW
Technical Details
Message-ID:
<3701339B.E29B7CF3@t-online.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,8b887049cfe79c4b,start X-Google-Attributes: gidf74b3,public From: Franz-Otto Wiehenstroth <FOWiehenstroth@t-online.de> Subject: Access to Structured Files Date: 1999/03/30 Message-ID: <3701339B.E29B7CF3@t-online.de> X-Deja-AN: 460885010 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language