Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 821017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:34:22+00:00 2026-05-15T02:34:22+00:00

Kinda like in the format of a class-dump result but in Java, I already

  • 0

Kinda like in the format of a class-dump result but in Java, I already have the Android.jar file and I would like to dump a clean listing of classes and methods for each .class file. How do I do this?
p.s. HTML documents seem too messy and hard to parse.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T02:34:23+00:00Added an answer on May 15, 2026 at 2:34 am

    unzip -l Android.jar should do the trick.

    Another alternative: jar -t Android.jar

    $ jar
    Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...
    Options:
        ...
        -t  list table of contents for archive
        ...
    

    To list classes and methods:

    Unzip the .jar-file, loop through the files and use the javap command:

    $ cat Test.java
    public class Test {
        public static void main(String... args) {
            System.out.println("hello world");
        }
    
        public int f() {
            return 123;
        }
    
        private void g() {
        }
    }
    
    $ javac Test.java
    
    $ javap Test
    Compiled from "Test.java"
    public class Test extends java.lang.Object{
        public Test();
        public static void main(java.lang.String[]);
        public int f();
    }
    
    $ 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to parse a self-designed file format with a FSM-like parser in
I have a webpage with a form, which looks kinda like this: @using (Html.BeginForm(MyAction,
I have a requirement which sounds like kind of simple but hard to implement
I have a form that looks kind of like this: <div> <div class=contact> <h1>Person's
I have a bunch of elements like the following: <div class=droppableP id=s-NSW style=width:78px; height:63px;
I have class methods like these in a message model: def delete_all_users_messages(user_id, parent_id) message
I have a question on how to create custom View Helpers. I would like,
Correspondig the following question: Java: Enum parameter in method I would like to know,
Assume I have a class like this: public class Foo { public Bar RequiredProperty
Let's say I have a model like this class Foo(db.Model): id = db.StringProperty() bar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.