File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes Java USB Api.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Java USB Api.." Watch "Java USB Api.." New topic

Java USB Api..

Himanshu Rawat
Ranch Hand

Joined: Nov 27, 2005
Posts: 141

The problem is like this...
I have a USB drive attached to my computer and i want to access every
information realated to USB using Java application..and also want to perform data transfer...

Can nyone tell me which api are available???
ny sample program will also work for me.....


SCJP 1.4
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Data transfer should be simple as far as Java is concerned - it's just another drive you can read from and write to.

What do you mean by "information related to USB"? Do you want to write a driver for USB devices?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15092

You can find a Java USB API here:

But as Ulf says, if you just want to read or write files from an USB drive, you don't need to use a low level API like this - you can just use the standard I/O classes to read and write files.

Search for "java usb" with Google for more options.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Himanshu Rawat
Ranch Hand

Joined: Nov 27, 2005
Posts: 141
no i m nt writing USB driver!!!.

General Information abt USB devices i want have....
wood burning stoves
subject: Java USB Api..
jQuery in Action, 3rd edition