|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.foundation.NSStream
org.rococoa.cocoa.foundation.NSInputStream
public abstract class NSInputStream
Subclassers are required to implement these methods.
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 class |
NSInputStream._class_
|
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
---|
NSObject._static_ |
Constructor Summary | |
---|---|
NSInputStream()
|
Method Summary | |
---|---|
static NSInputStream |
alloc()
|
NSInputStreamExtensions |
as_NSInputStream_NSInputStreamExtensions()
|
abstract boolean |
getBuffer_length(PointerByReference buffer,
NativeSizeByReference len)
Original signature : -(BOOL)getBuffer:(uint8_t**) length:(NSUInteger*) native declaration : NSStream.h:61 |
static NSInputStream._class_ |
getNSClass()
|
abstract boolean |
hasBytesAvailable()
Original signature : -(BOOL)hasBytesAvailable native declaration : NSStream.h:64 |
static NSInputStream |
new_()
|
abstract NSInteger |
read_maxLength(ByteBuffer buffer,
NSUInteger len)
Original signature : -(NSInteger)read:(uint8_t*) maxLength:(NSUInteger) native declaration : NSStream.h:58 |
abstract NSInteger |
read_maxLength(Pointer buffer,
NSUInteger len)
Deprecated. use the safer methods read_maxLength(java.nio.ByteBuffer, org.rococoa.cocoa.foundation.NSUInteger) and read_maxLength(com.sun.jna.Pointer, org.rococoa.cocoa.foundation.NSUInteger) instead |
Methods inherited from class org.rococoa.cocoa.foundation.NSStream |
---|
as_NSStream_NSSocketStreamCreationExtensions, close, delegate, open, propertyForKey, removeFromRunLoop_forMode, scheduleInRunLoop_forMode, setDelegate, setProperty_forKey, streamError |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.rococoa.ObjCObject |
---|
id |
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
---|
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone |
Constructor Detail |
---|
public NSInputStream()
Method Detail |
---|
public NSInputStreamExtensions as_NSInputStream_NSInputStreamExtensions()
@Deprecated public abstract NSInteger read_maxLength(Pointer buffer, NSUInteger len)
read_maxLength(java.nio.ByteBuffer, org.rococoa.cocoa.foundation.NSUInteger)
and read_maxLength(com.sun.jna.Pointer, org.rococoa.cocoa.foundation.NSUInteger)
instead
-(NSInteger)read:(uint8_t*) maxLength:(NSUInteger)
public abstract NSInteger read_maxLength(ByteBuffer buffer, NSUInteger len)
-(NSInteger)read:(uint8_t*) maxLength:(NSUInteger)
public abstract boolean getBuffer_length(PointerByReference buffer, NativeSizeByReference len)
-(BOOL)getBuffer:(uint8_t**) length:(NSUInteger*)
public abstract boolean hasBytesAvailable()
-(BOOL)hasBytesAvailable
public static NSInputStream alloc()
public static NSInputStream new_()
public static NSInputStream._class_ getNSClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |