FIND TEXT IN JAVA CLASSES

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
hellsbells98
Junior Member
Junior Member
Posts: 2
Joined: 2022-10-11, 11:32 UTC

FIND TEXT IN JAVA CLASSES

Post by *hellsbells98 »

Hello. I am having an issue for the past days and I can't figure it out. I have a lot of Java classes and I want to search a text through total commander search. Search is not working because the text is in compiled form. I tried plugin decompiler but I need to hit f3 on a specific class to open it in readable form. How I can decompile the classes through TC search. Thanks for your time !
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6975
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: FIND TEXT IN JAVA CLASSES

Post by *Horst.Epp »

AFAIK there is no lister plugin to view compiled java classes.
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: FIND TEXT IN JAVA CLASSES

Post by *Stefan2 »

Hello and welcome, 2hellsbells98    \m/

Maybe you can find a portable command line tool doing what you want
(like Phil Harveys' ExifTool)

Such command line tools you can integrate into TC, e.g., as a button command.






 
User avatar
nsp
Power Member
Power Member
Posts: 1919
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: FIND TEXT IN JAVA CLASSES

Post by *nsp »

I know this is not really what you are asking but this how i do myself.

I use a decompiler to first decompile all my classes in a temp folder Jad is pretty deprecated but you can find better one like java Decompiler or fernflower or CFR. Then i search from the output folder. You can make a button for CFR or Fernflower that decompile a complete src folder to %T\decompiled and then search to this folder !

To achieve search from class you need a special content plugin which will provide decompiled content of class file or do the search by itself. To my knowledge none exists today. In the tc_java implementation you can find a wcx sample that consider classes as archive and expose decompiled code. I do not know how TC can handle this if you search inside archive... I personally prefer to decompile all and keep decompiled file in a zip.
hellsbells98
Junior Member
Junior Member
Posts: 2
Joined: 2022-10-11, 11:32 UTC

Re: FIND TEXT IN JAVA CLASSES

Post by *hellsbells98 »

Thanks a lot guys !!!
Post Reply