-
Unknown data type in RandomAccessFile
Hi,
If there is a RandomAccessFile, in which i do not know the data types, but i know that the 5th column contains a String, how can i read the string and bypass the other 4 columns?
-
You probably can guess how to do this ... just "discard" the first four parts of each line/record then use the fifth ... break each record into tokens using the Scanner class with whitespace as the delimiter, then use four "next()" to discard the four records, then use the fifth "next()".
Similar Threads
-
By DH in forum VB Classic
Replies: 2
Last Post: 08-08-2007, 07:03 AM
-
By Sindhu in forum Database
Replies: 0
Last Post: 12-06-2001, 11:28 AM
-
By Craig in forum Database
Replies: 1
Last Post: 04-24-2001, 09:38 PM
-
By Tim Frost in forum xml.announcements
Replies: 0
Last Post: 04-02-2001, 10:53 AM
-
By Tahui in forum VB Classic
Replies: 2
Last Post: 11-22-2000, 10:24 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks