Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2010

    Need Help about RMS


    i want to store the hashtable in rms but i want to compress the hashtable & then store in rms for this in used Gzipinputstream but for this i first convert the hashtable to bytearray then i store it in rms.
    So is there is any way to convert the hashtable to byte array & bytearray to hashtable.


  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Cheshire, UK

    Re: Need Help about RMS

    You have to write the code to do it, by iterating through the Hashtable, and writing the elements to a ByteArrayOutputStream (wrapped in a DataOutputStream). There is no easy way.


Similar Threads

  1. RMS data LOST problem in 3410!!!
    By bitsonic in forum Mobile Java General
    Replies: 6
    Last Post: 2009-03-27, 09:50
  2. Replies: 8
    Last Post: 2008-07-27, 03:30
  3. RMS record sizes.
    By earamsey in forum Mobile Java General
    Replies: 1
    Last Post: 2007-10-18, 13:51
  4. About RMS database secutity
    By browndrf in forum Mobile Java Networking & Messaging & Security
    Replies: 9
    Last Post: 2007-07-27, 18:45
  5. 7210 & 7250 RMS resetting problem
    By keithmcneill in forum Mobile Java General
    Replies: 1
    Last Post: 2003-11-13, 21:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts