All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----com.apple.alpha.core.NativeObject | +----com.apple.alpha.core.FileHandle
NSFileHandle
.
[[NSFileHandle
alloc] init]
.
- initWithFileDescriptor:
on a newly allocated object.
- initWithFileDescriptor:closeOnDealloc:
on a newly allocated object.
- acceptConnectionInBackgroundAndNotify
Objective-C instance method.
- acceptConnectionInBackgroundAndNotifyForModes:
Objective-C instance method.
- availableData
Objective-C instance method.
- closeFile
Objective-C instance method.
- fileDescriptor
Objective-C instance method.
+ fileHandleForReadingAtPath:
Objective-C class method.
+ fileHandleForUpdatingAtPath:
Objective-C class method.
+ fileHandleForWritingAtPath:
Objective-C class method.
+ fileHandleWithNullDevice
Objective-C class method.
+ fileHandleWithStandardError
Objective-C class method.
+ fileHandleWithStandardInput
Objective-C class method.
+ fileHandleWithStandardOutput
Objective-C class method.
- offsetInFile
Objective-C instance method.
- readDataOfLength:
Objective-C instance method.
- readDataToEndOfFile
Objective-C instance method.
- readInBackgroundAndNotify
Objective-C instance method.
- readInBackgroundAndNotifyForModes:
Objective-C instance method.
- readToEndOfFileInBackgroundAndNotify
Objective-C instance method.
- readToEndOfFileInBackgroundAndNotifyForModes:
Objective-C instance method.
- seekToEndOfFile
Objective-C instance method.
- seekToFileOffset:
Objective-C instance method.
- synchronizeFile
Objective-C instance method.
- truncateFileAtOffset:
Objective-C instance method.
- waitForDataInBackgroundAndNotify
Objective-C instance method.
- waitForDataInBackgroundAndNotifyForModes:
Objective-C instance method.
- writeData:
Objective-C instance method.
protected FileHandle(boolean shouldAllocate, int objcObject)
public FileHandle()
[[NSFileHandle
alloc] init]
.
public FileHandle(int fd, boolean closeopt)
- initWithFileDescriptor:closeOnDealloc:
on a newly allocated object.
public FileHandle(int fd)
- initWithFileDescriptor:
on a newly allocated object.
public native Data availableData()
- availableData
Objective-C instance method.
public native Data readDataToEndOfFile()
- readDataToEndOfFile
Objective-C instance method.
public native Data readDataOfLength(int length)
- readDataOfLength:
Objective-C instance method.
public native void writeData(Data data)
- writeData:
Objective-C instance method.
public native int offsetInFile()
- offsetInFile
Objective-C instance method.
public native int seekToEndOfFile()
- seekToEndOfFile
Objective-C instance method.
public native void seekToFileOffset(int offset)
- seekToFileOffset:
Objective-C instance method.
public native void truncateFileAtOffset(int offset)
- truncateFileAtOffset:
Objective-C instance method.
public native void synchronizeFile()
- synchronizeFile
Objective-C instance method.
public native void closeFile()
- closeFile
Objective-C instance method.
public static native Object fileHandleWithStandardInput()
+ fileHandleWithStandardInput
Objective-C class method.
public static native Object fileHandleWithStandardOutput()
+ fileHandleWithStandardOutput
Objective-C class method.
public static native Object fileHandleWithStandardError()
+ fileHandleWithStandardError
Objective-C class method.
public static native Object fileHandleWithNullDevice()
+ fileHandleWithNullDevice
Objective-C class method.
public static native Object fileHandleForReadingAtPath(String path)
+ fileHandleForReadingAtPath:
Objective-C class method.
public static native Object fileHandleForWritingAtPath(String path)
+ fileHandleForWritingAtPath:
Objective-C class method.
public static native Object fileHandleForUpdatingAtPath(String path)
+ fileHandleForUpdatingAtPath:
Objective-C class method.
public native void readInBackgroundAndNotifyForModes(Array modes)
- readInBackgroundAndNotifyForModes:
Objective-C instance method.
public native void readInBackgroundAndNotify()
- readInBackgroundAndNotify
Objective-C instance method.
public native void readToEndOfFileInBackgroundAndNotifyForModes(Array modes)
- readToEndOfFileInBackgroundAndNotifyForModes:
Objective-C instance method.
public native void readToEndOfFileInBackgroundAndNotify()
- readToEndOfFileInBackgroundAndNotify
Objective-C instance method.
public native void acceptConnectionInBackgroundAndNotifyForModes(Array modes)
- acceptConnectionInBackgroundAndNotifyForModes:
Objective-C instance method.
public native void acceptConnectionInBackgroundAndNotify()
- acceptConnectionInBackgroundAndNotify
Objective-C instance method.
public native void waitForDataInBackgroundAndNotifyForModes(Array modes)
- waitForDataInBackgroundAndNotifyForModes:
Objective-C instance method.
public native void waitForDataInBackgroundAndNotify()
- waitForDataInBackgroundAndNotify
Objective-C instance method.
public native int fileDescriptor()
- fileDescriptor
Objective-C instance method.
All Packages Class Hierarchy This Package Previous Next Index