Article View: borland.public.jbuilder.java.api
Article #2544Re: Opening cdrom drive?
From: Rich Wilkman
Date: Wed, 18 Oct 2000 00:00
Date: Wed, 18 Oct 2000 00:00
29 lines
1564 bytes
1564 bytes
John: I think he wants to open the CD tray like you can do from the command line in *nix. Can't say I've seen it as a DOS app, though. -Rich "John McGrath [TeamB]" wrote: > On Mon, 16 Oct 2000 12:04:11 -0700, Geromy Harper wrote: > > > is it possible to open the cdrom drive using java? > > If so, how can it be done? I haven't worked with API > > calls very recently, so I'm kinda rusty. > > What exactly do you mean by "open"? You can open files and get a list of > the files in a directory. This would work the same way for a CD-ROM as > it would for any file or directory. Just specify a path that specifies > the CD-ROM drive. The classes that handle these functions are in the > package "java.io". > > -- > Regards, > > John McGrath [TeamB] > > --------------------------------------------------- > Before sending me e-mail, please read: > http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<39EDDCBE.10B66C9E@formlessvoid.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39eb4ec3$1_1@dnews> <MPG.1456f1b6d921971d989c26@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,f3a2f4f9a1d2f38e X-Google-Attributes: gid1089d0,public From: Rich Wilkman <richw@formlessvoid.com> Subject: Re: Opening cdrom drive? Date: 2000/10/18 Message-ID: <39EDDCBE.10B66C9E@formlessvoid.com> X-Deja-AN: 682971899 Content-Transfer-Encoding: 7bit References: <39eb4ec3$1_1@dnews> <MPG.1456f1b6d921971d989c26@forums.borland.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 18 Oct 2000 10:16:41 -0800, 209.144.169.10 MIME-Version: 1.0 Reply-To: richw@formlessvoid.com Newsgroups: borland.public.jbuilder.java.api