fat32-lib icon indicating copy to clipboard operation
fat32-lib copied to clipboard

documentation

Open hengxti opened this issue 9 years ago • 3 comments

Hi, I was trying for a while to find out how to use the library properly. Could you give a short information for e.g. loading an existing image, navigating throw some folders, create a file ? I am having trouble to find the "user interface" classes.

Kind regards

hengxti avatar Jul 10 '15 09:07 hengxti

The library exposes only a carefully chosen set of classes and methods, so everything you see in the JavaDocs is considered public API. A good starting point for exploring the API would be the [FatFileSystem.read](http://waldheinz.github.io/fat32-lib/apidocs/de/waldheinz/fs/fat/FatFileSystem.html#read%28de.waldheinz.fs.BlockDevice, boolean%29) method, which expects you to pass in a BlockDevice and gives back an actual file system instance to work with, you can just explore the API docs to find out what can be done.

If you want to start reading an existing image file, the [FileDisk](http://waldheinz.github.io/fat32-lib/apidocs/de/waldheinz/fs/util/FileDisk.html#FileDisk%28java.io.File, boolean%29) constructor is for you.

Basically the documentation for this library is intended for people familiar with JavaDoc, but you'd like to write up something more beginner friendly, I'd happily accept contributions for the project wiki. :-)

waldheinz avatar Jul 10 '15 10:07 waldheinz

thank you for the quick response!

hengxti avatar Jul 12 '15 10:07 hengxti

OffTopic: How many hours did you spend to create this Project in total?

hengxti avatar Jul 12 '15 11:07 hengxti