🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2539

Re: Opening cdrom drive?

#2539
From: John McGrath TeamB
Date: Wed, 18 Oct 2000 00:00
20 lines
1164 bytes
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: <MPG.1456f1b6d921971d989c26@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39eb4ec3$1_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,f3a2f4f9a1d2f38e
X-Google-Attributes: gid1089d0,public
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Subject: Re: Opening cdrom drive?
Date: 2000/10/18
Message-ID: <MPG.1456f1b6d921971d989c26@forums.borland.com>
X-Deja-AN: 682762242
References: <39eb4ec3$1_1@dnews>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.api