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: Mac character encoding and getInputStream()



Martin Edling Andersson wrote:

> Process pAllMounted = Runtime.getRuntime().exec("ls /Volumes/");

I didn't notice it before, but if all you want to do is get a list of
volume mount-points, you can do this with java.io.File and its list() or
listFiles() methods.

The resulting Strings or Files will have names in decomposed form, i.e.
with combining accents, which I think is identical to what 'ls' is doing.

If 'ls /Volumes' was just an illustration, not the actual command of
interest, please ignore this suggestion.

By the way, you can find more info on decomposed accents in the list
archives.  Keywords: accent composing decompose

  -- GG


 _______________________________________________
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

This email sent to 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.