|
WebObjects 5.2.3 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.webobjects.eointerface.cocoa.EOCocoaUtilities
EOcocoaUtilities is a class of static methods aimed at making it easy to use the pure java implementation of EOF with Apple's "bridged Java" Cocoa technology.
| Method Summary | |
static com.apple.cocoa.foundation.NSGregorianDate |
gregorianDateForTimestamp(NSTimestamp timestamp)
|
static void |
registerCocoaSet()
Registers EOCocoaSetPlugin as the widget set for the EOInterface layer to use and the default WidgetPlugins for use with their associations and widgets. |
static void |
releaseObject(Object object)
Ensures that object is available to have its Objective-C
handle freed. |
static void |
retainObject(Object object)
Ensures that object does not have it's handle (which lives on the
Objective-C side of the bridge) freed by the bridge. |
static NSTimestamp |
timestampForGregorianDate(com.apple.cocoa.foundation.NSGregorianDate date)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static com.apple.cocoa.foundation.NSGregorianDate gregorianDateForTimestamp(NSTimestamp timestamp)
timestamp - NSTimestamp instance used to create a new NSGregorianDate
timestamp, representstimestampForGregorianDate(NSGregorianDate date).public static void registerCocoaSet()
public static void releaseObject(Object object)
object is available to have its Objective-C
handle freed.
object - the object to be released; object must be non-null and should be an object that
had been retained with retainObjectretainObject(Object object)public static void retainObject(Object object)
object does not have it's handle (which lives on the
Objective-C side of the bridge) freed by the bridge.
Once you are done with the object, you should release it with releaseObject.
object - the object to be retained; object must be non-nullreleaseObject(Object object)public static NSTimestamp timestampForGregorianDate(com.apple.cocoa.foundation.NSGregorianDate date)
date - NSGregorianDate instance used to create a new NSTimestamp
date, representsgregorianDateForTimestamp(NSTimestamp timestamp).
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||