|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jniwrapper.Parameter
com.jniwrapper.Pointer.Void
com.jniwrapper.macosx.cocoa.Id
com.jniwrapper.macosx.cocoa.CObject
com.jniwrapper.macosx.cocoa.nsobject.NSObject
com.jniwrapper.macosx.cocoa.nsdata.NSData
This class represents NSData class.
See the class documentation at the Apple's site: NSData
| Field Summary |
| Fields inherited from class com.jniwrapper.macosx.cocoa.CObject |
_fields |
| Fields inherited from class com.jniwrapper.Parameter |
LICENSE_TYPE, V |
| Constructor Summary | |
NSData()
|
|
NSData(boolean autorelease)
Contructs the NSData class with the autorelease option on. |
|
NSData(com.jniwrapper.Pointer.Void instancePtr)
Contructs the NSData class from pointer. |
|
NSData(java.lang.String methodName,
com.jniwrapper.Parameter[] parameters)
Contructs the NSData class with static constructor. |
|
| Method Summary | |
com.jniwrapper.Pointer.Void |
bytes()
|
Id |
copyWithZone(NSZone zone)
|
com.jniwrapper.Pointer.Void |
description()
|
com.jniwrapper.UInt16 |
deserializeAlignedBytesLengthAtCursor(com.jniwrapper.UInt16 cursor)
|
void |
deserializeBytes_length_atCursor(com.jniwrapper.Pointer.Void buffer,
com.jniwrapper.UInt16 bytes,
com.jniwrapper.UInt16 cursor)
This method represents the deserializeBytes() method of the NSData Objective-C class. |
void |
deserializeDataAt_ofObjCType_atCursor_context(com.jniwrapper.Pointer.Void data,
com.jniwrapper.AnsiString type,
com.jniwrapper.UInt16 cursor,
Id callback)
This method represents the deserializeDataAt() method of the NSData Objective-C class. |
com.jniwrapper.Int |
deserializeIntAtCursor(com.jniwrapper.UInt16 cursor)
|
com.jniwrapper.Int |
deserializeIntAtIndex(com.jniwrapper.UInt16 index)
|
void |
deserializeInts_count_atCursor(com.jniwrapper.Int intBuffer,
com.jniwrapper.UInt16 numInts,
com.jniwrapper.UInt16 cursor)
This method represents the deserializeInts() method of the NSData Objective-C class. |
void |
deserializeInts_count_atIndex(com.jniwrapper.Int intBuffer,
com.jniwrapper.UInt16 numInts,
com.jniwrapper.UInt16 index)
This method represents the deserializeInts() method of the NSData Objective-C class. |
void |
encodeWithCoder(NSCoder aCoder)
|
void |
getBytes_length(com.jniwrapper.Pointer.Void buffer,
com.jniwrapper.UInt16 length)
This method represents the getBytes() method of the NSData Objective-C class. |
void |
getBytes_range(com.jniwrapper.Pointer.Void buffer,
NSRange range)
This method represents the getBytes() method of the NSData Objective-C class. |
void |
getBytes(com.jniwrapper.Pointer.Void buffer)
|
protected void |
init(com.jniwrapper.Parameter[] fields)
|
Id |
initWithBytes_length(com.jniwrapper.Pointer.Void bytes,
com.jniwrapper.UInt16 length)
This method represents the initWithBytes() method of the NSData Objective-C class. |
Id |
initWithBytesNoCopy_length_freeWhenDone(com.jniwrapper.Pointer.Void bytes,
com.jniwrapper.UInt16 length,
boolean b)
This method represents the initWithBytesNoCopy() method of the NSData Objective-C class. |
Id |
initWithBytesNoCopy_length(com.jniwrapper.Pointer.Void bytes,
com.jniwrapper.UInt16 length)
This method represents the initWithBytesNoCopy() method of the NSData Objective-C class. |
Id |
initWithCoder(NSCoder aDecoder)
|
Id |
initWithContentsOfFile(java.lang.String path)
|
Id |
initWithContentsOfMappedFile(java.lang.String path)
|
Id |
initWithContentsOfURL(NSURL url)
|
Id |
initWithData(NSData data)
|
com.jniwrapper.Bool |
isEqualToData(NSData other)
|
com.jniwrapper.UInt16 |
length()
|
Id |
mutableCopyWithZone(NSZone zone)
|
static NSData |
NSData_data()
This method represents the data static constructor of the NSData Objective-C class. |
static NSData |
NSData_dataWithBytes_length(com.jniwrapper.Pointer.Void bytes,
com.jniwrapper.UInt16 length)
This method represents the dataWithBytes static constructor of the NSData Objective-C class. |
static NSData |
NSData_dataWithBytesNoCopy_length_freeWhenDone(com.jniwrapper.Pointer.Void bytes,
com.jniwrapper.UInt16 length,
boolean b)
This method represents the dataWithBytesNoCopy static constructor of the NSData Objective-C class. |
static NSData |
NSData_dataWithBytesNoCopy_length(com.jniwrapper.Pointer.Void bytes,
com.jniwrapper.UInt16 length)
This method represents the dataWithBytesNoCopy static constructor of the NSData Objective-C class. |
static NSData |
NSData_dataWithContentsOfFile(java.lang.String path)
This method represents the dataWithContentsOfFile static constructor of the NSData Objective-C class. |
static NSData |
NSData_dataWithContentsOfMappedFile(java.lang.String path)
This method represents the dataWithContentsOfMappedFile static constructor of the NSData Objective-C class. |
static NSData |
NSData_dataWithContentsOfURL(NSURL url)
This method represents the dataWithContentsOfURL static constructor of the NSData Objective-C class. |
static NSData |
NSData_dataWithData(NSData data)
This method represents the dataWithData static constructor of the NSData Objective-C class. |
com.jniwrapper.Pointer.Void |
subdataWithRange(NSRange range)
|
com.jniwrapper.Bool |
writeToFile_atomically(java.lang.String path,
boolean useAuxiliaryFile)
This method represents the writeToFile() method of the NSData Objective-C class. |
com.jniwrapper.Bool |
writeToURL_atomically(NSURL url,
boolean atomically)
This method represents the writeToURL() method of the NSData Objective-C class. |
| Methods inherited from class com.jniwrapper.macosx.cocoa.CObject |
getClassName |
| Methods inherited from class com.jniwrapper.macosx.cocoa.Id |
clone |
| Methods inherited from class com.jniwrapper.Pointer.Void |
asFunction, asFunction, asTypedPointer, castTo, castTo, equals, getDebugInfo, getLength, getValue, hashCode, isNull, read, setValue, toString, write |
| Methods inherited from class com.jniwrapper.Parameter |
|
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NSData()
public NSData(boolean autorelease)
NSData class with the autorelease option on.
autorelease - public NSData(com.jniwrapper.Pointer.Void instancePtr)
NSData class from pointer.
instancePtr -
public NSData(java.lang.String methodName,
com.jniwrapper.Parameter[] parameters)
NSData class with static constructor.
methodName - parameters - | Method Detail |
public static NSData NSData_dataWithBytesNoCopy_length_freeWhenDone(com.jniwrapper.Pointer.Void bytes,
com.jniwrapper.UInt16 length,
boolean b)
dataWithBytesNoCopy static constructor of the NSData Objective-C class.
bytes - length - b -
public static NSData NSData_dataWithData(NSData data)
dataWithData static constructor of the NSData Objective-C class.
data -
public static NSData NSData_dataWithBytesNoCopy_length(com.jniwrapper.Pointer.Void bytes,
com.jniwrapper.UInt16 length)
dataWithBytesNoCopy static constructor of the NSData Objective-C class.
bytes - length -
public static NSData NSData_dataWithBytes_length(com.jniwrapper.Pointer.Void bytes,
com.jniwrapper.UInt16 length)
dataWithBytes static constructor of the NSData Objective-C class.
bytes - length -
public static NSData NSData_dataWithContentsOfFile(java.lang.String path)
dataWithContentsOfFile static constructor of the NSData Objective-C class.
path -
public static NSData NSData_dataWithContentsOfURL(NSURL url)
dataWithContentsOfURL static constructor of the NSData Objective-C class.
url -
public static NSData NSData_data()
data static constructor of the NSData Objective-C class.
public static NSData NSData_dataWithContentsOfMappedFile(java.lang.String path)
dataWithContentsOfMappedFile static constructor of the NSData Objective-C class.
path -
protected void init(com.jniwrapper.Parameter[] fields)
init in class NSObject
public void deserializeInts_count_atCursor(com.jniwrapper.Int intBuffer,
com.jniwrapper.UInt16 numInts,
com.jniwrapper.UInt16 cursor)
deserializeInts() method of the NSData Objective-C class.
intBuffer - numInts - cursor - public Id initWithContentsOfURL(NSURL url)
public void deserializeDataAt_ofObjCType_atCursor_context(com.jniwrapper.Pointer.Void data,
com.jniwrapper.AnsiString type,
com.jniwrapper.UInt16 cursor,
Id callback)
deserializeDataAt() method of the NSData Objective-C class.
data - type - cursor - callback - public void getBytes(com.jniwrapper.Pointer.Void buffer)
public void deserializeInts_count_atIndex(com.jniwrapper.Int intBuffer,
com.jniwrapper.UInt16 numInts,
com.jniwrapper.UInt16 index)
deserializeInts() method of the NSData Objective-C class.
intBuffer - numInts - index - public Id initWithData(NSData data)
public com.jniwrapper.Bool writeToFile_atomically(java.lang.String path,
boolean useAuxiliaryFile)
writeToFile() method of the NSData Objective-C class.
path - useAuxiliaryFile -
public void encodeWithCoder(NSCoder aCoder)
encodeWithCoder in interface NSCodingProtocolpublic Id initWithCoder(NSCoder aDecoder)
initWithCoder in interface NSCodingProtocolpublic Id copyWithZone(NSZone zone)
copyWithZone in interface NSCopyingProtocolpublic com.jniwrapper.Pointer.Void subdataWithRange(NSRange range)
public Id initWithBytesNoCopy_length_freeWhenDone(com.jniwrapper.Pointer.Void bytes,
com.jniwrapper.UInt16 length,
boolean b)
initWithBytesNoCopy() method of the NSData Objective-C class.
bytes - length - b -
public void getBytes_range(com.jniwrapper.Pointer.Void buffer,
NSRange range)
getBytes() method of the NSData Objective-C class.
buffer - range - public Id mutableCopyWithZone(NSZone zone)
mutableCopyWithZone in interface NSMutableCopyingProtocolpublic Id initWithContentsOfFile(java.lang.String path)
public com.jniwrapper.UInt16 length()
public com.jniwrapper.Bool writeToURL_atomically(NSURL url,
boolean atomically)
writeToURL() method of the NSData Objective-C class.
url - atomically -
public com.jniwrapper.Pointer.Void bytes()
public com.jniwrapper.Bool isEqualToData(NSData other)
public void getBytes_length(com.jniwrapper.Pointer.Void buffer,
com.jniwrapper.UInt16 length)
getBytes() method of the NSData Objective-C class.
buffer - length - public com.jniwrapper.UInt16 deserializeAlignedBytesLengthAtCursor(com.jniwrapper.UInt16 cursor)
public com.jniwrapper.Int deserializeIntAtCursor(com.jniwrapper.UInt16 cursor)
public Id initWithContentsOfMappedFile(java.lang.String path)
public com.jniwrapper.Pointer.Void description()
description in interface NSObjectProtocoldescription in class NSObjectpublic com.jniwrapper.Int deserializeIntAtIndex(com.jniwrapper.UInt16 index)
public Id initWithBytesNoCopy_length(com.jniwrapper.Pointer.Void bytes,
com.jniwrapper.UInt16 length)
initWithBytesNoCopy() method of the NSData Objective-C class.
bytes - length -
public void deserializeBytes_length_atCursor(com.jniwrapper.Pointer.Void buffer,
com.jniwrapper.UInt16 bytes,
com.jniwrapper.UInt16 cursor)
deserializeBytes() method of the NSData Objective-C class.
buffer - bytes - cursor -
public Id initWithBytes_length(com.jniwrapper.Pointer.Void bytes,
com.jniwrapper.UInt16 length)
initWithBytes() method of the NSData Objective-C class.
bytes - length -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||