Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Search class file for particular code

  1. #1
    Junior Member
    Join Date
    Aug 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Search class file for particular code

    Hi All,

    I want to search a particular text in set of class files unjarred from different jars. Can anyone suggest if there is any such kind of tool? I need something likes windows search where in I place all class files which I want to search in a folder and then I give the text to be searched. Please do let me know if anything like this exists.


    Thanks in advance.

    Bye


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,145
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Search class file for particular code

    Look at the other forum where you got some ideas for this.
    Please post a link on this forum to the other forum so others can see the other discussions.

  3. #3
    Junior Member
    Join Date
    Sep 2011
    Posts
    18
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: Search class file for particular code

    Hi,

    I don't know any tool for such kind of work to search class in jar but you can write the code to search class in jar file. For that you can take advantage of reflection.

Similar Threads

  1. How to make java search for a file?
    By StarKannon in forum Java Theory & Questions
    Replies: 1
    Last Post: February 2nd, 2011, 01:36 PM
  2. [SOLVED] i cant make a java jar file which can search data from mysql
    By talha07 in forum JDBC & Databases
    Replies: 6
    Last Post: January 20th, 2011, 06:09 AM
  3. search file by id
    By d..:) in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: January 13th, 2011, 09:34 AM
  4. Need help fixing Binary Search Tree code
    By fistpunch in forum What's Wrong With My Code?
    Replies: 6
    Last Post: December 6th, 2010, 11:22 AM
  5. [SOLVED] Search file program
    By righi in forum Java Theory & Questions
    Replies: 4
    Last Post: November 15th, 2010, 12:08 PM