Thread: Writing a file sort of like dumpping..

Results 1 to 4 of 4
  1. #1 Writing a file sort of like dumpping.. 
    Registered Member

    Join Date
    May 2008
    Posts
    446
    Thanks given
    136
    Thanks received
    52
    Rep Power
    355
    I have these methods that load RuneScapes GE prices and I want to make them so they write to a text file like..

    Code:
    ID    MARKET PRICE    MAX PRICE    MIN PRICE
    ID    MARKET PRICE    MAX PRICE    MIN PRICE
    ID    MARKET PRICE    MAX PRICE    MIN PRICE
    ID    MARKET PRICE    MAX PRICE    MIN PRICE
    ID    MARKET PRICE    MAX PRICE    MIN PRICE

    The method to check prices is..

    Code:
    public int loadMarketPrice(int Id) {
    }
    
    public int loadMaxPrice(int Id) {
    }
    
    public int loadMinPrice(int Id) {
    }
    So was thinking something like
    Code:
    new file write..(def.getId(), loadMarketPrice(defGetId()), loadMaxPrice(def.getId()), loadMinPrice(def.getId());
    I have no idea how to do this so it'd be great if you could help me!

    Attached image

    (Click on the logo above to view our server!)
    Reply With Quote  
     

  2. #2  
    ̿ ̿̿ ̿̿ ̿̿̿'̿'\̵͇̿̿\=(•̪

    Dragonking's Avatar
    Join Date
    May 2008
    Posts
    2,011
    Thanks given
    16
    Thanks received
    31
    Rep Power
    567
    oooooooooooo i did this lol that is how the prices on my 508 load lol i can give u later ok? im not goign to release on here (leecher's)
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Mar 2009
    Posts
    448
    Thanks given
    33
    Thanks received
    6
    Rep Power
    0
    Quote Originally Posted by Dragonking View Post
    oooooooooooo i did this lol that is how the prices on my 508 load lol i can give u later ok? im not goign to release on here (leecher's)
    Sounds like a good idea Dragon.
    Reply With Quote  
     

  4. #4  
    Programmer, Contributor, RM and Veteran




    Join Date
    Mar 2007
    Posts
    5,147
    Thanks given
    2,656
    Thanks received
    3,731
    Rep Power
    5000
    BufferedWriter, PrintWriter, plenty of ways.
    .
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

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