Hello to All
I am a new programmer in java and I want to read some information from .osm file in my java program. I searched and understood that Osmosis had java lib for programming. but I don’t know how to use it in my program and where I can find this library? has it any .jar file?
the other question is, dose java lib of osmosis have any documentations? and if no how can I work with it and understand it?

Thanks a lot!

Have a look at this post I wrote about my experiences parsing .osm files with Osmosis. Perhaps it helps you understand the basics.

For downloading, you should find the links here: http://wiki.openstreetmap.org/wiki/Osmosis#Downloading

thank you dear Tordanik,

but I need more example java codes of osmosis.I write my codes in NetBeans IDE 8.0.2. do you have any suggestion?
how I can understand what functions have been supported with osmosis? any tutorials exist?

Hello S Mir,

maybe you can also have a look at the osmosis developer mailinglist,

see http://wiki.openstreetmap.org/wiki/Mailing_lists