org.rococoa.cocoa.foundation
Class NSInputStream

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.foundation.NSStream
          extended by org.rococoa.cocoa.foundation.NSInputStream
All Implemented Interfaces:
NSObject, ObjCObject

public abstract class NSInputStream
extends NSStream

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 org.rococoa.cocoa.foundation.NSObject
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, init, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount
 
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

NSInputStream

public NSInputStream()
Method Detail

as_NSInputStream_NSInputStreamExtensions

public NSInputStreamExtensions as_NSInputStream_NSInputStreamExtensions()

read_maxLength

@Deprecated
public 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

Original signature : -(NSInteger)read:(uint8_t*) maxLength:(NSUInteger)
native declaration : NSStream.h:58


read_maxLength

public abstract NSInteger read_maxLength(ByteBuffer buffer,
                                         NSUInteger len)
Original signature : -(NSInteger)read:(uint8_t*) maxLength:(NSUInteger)
native declaration : NSStream.h:58


getBuffer_length

public abstract boolean getBuffer_length(PointerByReference buffer,
                                         NativeSizeByReference len)
Original signature : -(BOOL)getBuffer:(uint8_t**) length:(NSUInteger*)
native declaration : NSStream.h:61


hasBytesAvailable

public abstract boolean hasBytesAvailable()
Original signature : -(BOOL)hasBytesAvailable
native declaration : NSStream.h:64


alloc

public static NSInputStream alloc()

new_

public static NSInputStream new_()

getNSClass

public static NSInputStream._class_ getNSClass()


Copyright © 2009. All Rights Reserved.