FIND TEXT IN JAVA CLASSES
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 2
- Joined: 2022-10-11, 11:32 UTC
FIND TEXT IN JAVA CLASSES
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 !
Re: FIND TEXT IN JAVA CLASSES
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
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
Re: FIND TEXT IN JAVA CLASSES
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.
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.
Re: FIND TEXT IN JAVA CLASSES
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.
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.
-
- Junior Member
- Posts: 2
- Joined: 2022-10-11, 11:32 UTC
Re: FIND TEXT IN JAVA CLASSES
Thanks a lot guys !!!