aspose file tools*
The moose likes Beginning Java and the fly likes How to use methods in a class(which is in library jar) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to use methods in a class(which is in library jar)" Watch "How to use methods in a class(which is in library jar)" New topic
Author

How to use methods in a class(which is in library jar)

srihari miriyala
Greenhorn

Joined: May 16, 2012
Posts: 16
hi,

i need to use a use a methods of a class which is in a library-jar
please give me one example

i am waiting for your replay..thank you in advance ...


[Thumbnail for s.png]

srihari miriyala
Greenhorn

Joined: May 16, 2012
Posts: 16
sorry after goggling through google i found my solution...
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38873
    
  23
Welcome to the Ranch

Please tell us what you found. And avoid screenshots.
srihari miriyala
Greenhorn

Joined: May 16, 2012
Posts: 16
thank you..

i am using following code to solve my problem..
created a jar file using following command


and then adds this jar file as library and using methods of that class/jar like



and

created a object for the class



that's it...
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38873
    
  23
Thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use methods in a class(which is in library jar)