Unknown data type in RandomAccessFile


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Unknown data type in RandomAccessFile

  1. #1
    Join Date
    Sep 2006
    Posts
    3

    Unhappy 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?

  2. #2
    Join Date
    Dec 2004
    Location
    San Bernardino County, California
    Posts
    1,468
    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

  1. SQL servicer script, data type for MEMO
    By DH in forum VB Classic
    Replies: 2
    Last Post: 08-08-2007, 07:03 AM
  2. Altering created Distinct Data Type
    By Sindhu in forum Database
    Replies: 0
    Last Post: 12-06-2001, 11:28 AM
  3. Replies: 1
    Last Post: 04-24-2001, 09:38 PM
  4. Data Junction Announces XML Junction 7.51
    By Tim Frost in forum xml.announcements
    Replies: 0
    Last Post: 04-02-2001, 10:53 AM
  5. What is the UDT?
    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center