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