File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes APIs for Obfuscation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "APIs for Obfuscation" Watch "APIs for Obfuscation" New topic

APIs for Obfuscation

Rahul Dias

Joined: Jul 05, 2005
Posts: 3

I need to programatically check if a given .jar file is obfuscated or not
Can anybody tell me if there are ANY Java APIs available to do this?

Thanks in advance

Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199


Welcome to JavaRanch!

First, a bit of business: you may not have read our naming policy on the way in. It requires that you use a full, real (sounding) first and last name for your display name. Joke names and "handles" aren't acceptable here. You can change your display name here. Thanks!

As for the answer to your question: no, not really. Why would you want this, anyway? Sounds like trouble to me.

[Jess in Action][AskingGoodQuestions]
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Don't think so. How could it tell the difference between an obfuscated class, and one where the developer has made countless poor choices naming variables and objects?

(By the way, your screen name is going to get you in trouble)

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: APIs for Obfuscation
It's not a secret anymore!