Thread: Refactored (checking if cache is in positon if not execiting cache dl)

Results 1 to 2 of 2
  1. #1 Refactored (checking if cache is in positon if not execiting cache dl) 
    Registered Member
    Join Date
    Jan 2010
    Posts
    271
    Thanks given
    2
    Thanks received
    3
    Rep Power
    11
    Refactored (checking if cache is in positon if not execiting cache dl)

    i finished my cache downloader jst need to do that
    so can u guys make me the code first time using the graham's refactored

    StoryScape 317
    Reply With Quote  
     

  2. #2  
    Retired. Stop PMing me.


    Galkon's Avatar
    Join Date
    Nov 2007
    Age
    12
    Posts
    7,520
    Thanks given
    1,746
    Thanks received
    2,795
    Rep Power
    5000
    Just look up how to use stuff like File file = new File(directory);

    and if(file.exists()) etc.

    Code:
    	public static boolean cacheExists() {
    		File file = new File(signlink.findcachedir() + "main_file_cache.dat");
    		if(file.exists())
    			return true;
    		else
    			return false;
    	}
    [Only registered and activated users can see links. ]
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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

Similar Threads

  1. Refactored Cache class.
    By (Anthony) in forum Snippets
    Replies: 4
    Last Post: 04-21-2010, 11:12 PM
  2. 317 Refactored Clietn loads 377 cache
    By ZachHaley in forum Downloads
    Replies: 11
    Last Post: 04-20-2009, 09:30 PM
  3. Jagex's filesystem (Cache) class refactored by me
    By veer in forum RS 503+ Client & Server
    Replies: 6
    Last Post: 01-16-2009, 09:27 PM
  4. Replies: 14
    Last Post: 01-08-2009, 12:34 AM
  5. Auto-Cache-Downloading for Refactored
    By ZachHaley in forum Tutorials
    Replies: 6
    Last Post: 05-31-2008, 08:10 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
  •