org.rococoa.cocoa.foundation.categories
Interface NSURLLoading

All Known Implementing Classes:
NSURL

public interface NSURLLoading

This entire protocol is deprecated; use NSURLConnection instead.
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static interface NSURLLoading._static_
           
 
Method Summary
 void loadResourceDataNotifyingClient_usingCache(org.rococoa.ID client, boolean shouldUseCache)
          Original signature : -(void)loadResourceDataNotifyingClient:(id) usingCache:(BOOL)
Starts an asynchronous load of the data, registering delegate to receive notification.
 NSObject propertyForKey(NSString propertyKey)
           
 NSData resourceDataUsingCache(boolean shouldUseCache)
          Original signature : -(NSData*)resourceDataUsingCache:(BOOL)
Blocks to load the data if necessary.
 boolean setProperty_forKey(org.rococoa.ID property, NSString propertyKey)
           
 boolean setResourceData(NSData data)
          These attempt to write the given arguments for the resource specified by the URL; they return success or failure
Original signature : -(BOOL)setResourceData:(NSData*)
 NSURLHandle URLHandleUsingCache(boolean shouldUseCache)
          Original signature : -(NSURLHandle*)URLHandleUsingCache:(BOOL)
Sophisticated clients will want to ask for this, then message the handle directly.
 

Method Detail

resourceDataUsingCache

NSData resourceDataUsingCache(boolean shouldUseCache)
Original signature : -(NSData*)resourceDataUsingCache:(BOOL)
Blocks to load the data if necessary. If shouldUseCache is YES, then if an equivalent URL has already been loaded and cached, its resource data will be returned immediately. If shouldUseCache is NO, a new load will be started


loadResourceDataNotifyingClient_usingCache

void loadResourceDataNotifyingClient_usingCache(org.rococoa.ID client,
                                                boolean shouldUseCache)
Original signature : -(void)loadResourceDataNotifyingClient:(id) usingCache:(BOOL)
Starts an asynchronous load of the data, registering delegate to receive notification. Only one such background load can proceed at a time.


propertyForKey

NSObject propertyForKey(NSString propertyKey)

setResourceData

boolean setResourceData(NSData data)
These attempt to write the given arguments for the resource specified by the URL; they return success or failure
Original signature : -(BOOL)setResourceData:(NSData*)


setProperty_forKey

boolean setProperty_forKey(org.rococoa.ID property,
                           NSString propertyKey)

URLHandleUsingCache

NSURLHandle URLHandleUsingCache(boolean shouldUseCache)
Original signature : -(NSURLHandle*)URLHandleUsingCache:(BOOL)
Sophisticated clients will want to ask for this, then message the handle directly. If shouldUseCache is NO, a newly instantiated handle is returned, even if an equivalent URL has been loaded