Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding all mounted volumes



> You should have a generic imp, in addition to whatever platform-aware ones
> you have. Then the reason for doing a platform-specific imp is to act
> smarter or faster or provide some other improvement over the generic imp.

Good point.

> Efficiency may become relevant if you have a bunch of slow shares, or slow
> CDs, or slow connections, or slow media.

Ditto.

> In general, it sounds like you have a workable approach to turning names
> into resources. If the transformed names stored in the database aren't
> universal and indefinitely usable into the future, though, then you'll be
> revisiting this problem (resolve name N into resource R) in the future.

You are so smart :) Indeed the idea is to make packages globally unique,
although on initial import this may not be a goal of the user; uniqueness
within the organization is sufficient. So the resolved package name will
likely be something like:

<user-defined-base-package>.legacy.<imported-path>

Packages *can* be trivially moved while they are only being used locally
(that is the app will provide support for this) and so could be moved to
something more akin to a canonical package for public release of one's
data:

edu.bu.asllrp.2003.foobar

Thanks for the helpful tips, and sanity checking.

Jason
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Finding all mounted volumes (From: Greg Guerin <email@hidden>)



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.