| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 10-Jun-05, at 2:08 PM, Robert MacGregor wrote:
On 10-Jun-05, at 1:15 PM, Ian Cheyne wrote:
Answer: When its actually a Directory.
In this case when it's a bundle. The easiest course is to use NSBundle to access the bundle. For a Keynote bundle called "FeatureSummary.key":
import com.apple.cocoa.foundation.*; import com.apple.cocoa.application.*;
NSBundle keynoteBundle = NSBundle.bundleWithPath ("FeatureSummary.pages");
OK! This works for bundles with a .pages extension too! :-)
Rob
_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden
| References: | |
| >When is a File not a File? (From: Ian Cheyne <email@hidden>) | |
| >Re: When is a File not a File? (From: Robert MacGregor <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.