Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 7 - Classes and Methods / CyberItem


IsDownloadable

Tests whether the data referenced by this Cyberdog item is a file that can be downloaded.

ODBoolean IsDownloadable ();
return value
kODTrue if the data is a downloadable file; otherwise, kODFalse.
DISCUSSION
This method should return kODTrue if this Cyberdog item is capable of providing a stream object via the CreateCyberStream method and a file creator and file type via the GetFileInfo method. The superclass implementation returns kODFalse.

This method throws the kCDErrItemNotResolved exception if the Cyberdog item is not resolved.

If you subclass CyberItem and override this method, your override must not call its inherited method; that is, your override must implement this method's functionality completely.

SEE ALSO
The CreateCyberStream method (page 231).
The GetFileInfo method (page 234).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996