Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #8523
| From | markspace <-@.> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Getting package info from JAR file |
| Date | 2011-10-04 07:16 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <j6f4gl$oq1$1@dont-email.me> (permalink) |
| References | <ddacc0ec-0844-4da3-9d22-f6fe6c0440c6@j20g2000vby.googlegroups.com> |
On 10/4/2011 6:51 AM, laredotornado wrote: > Hi, > > I'm on Win XP using Java 7 but I have access to Unix tools using > Cygwin. I was wondering, short of unzipping a JAR file and searching > through it, if there's a way to figure out the package to which a > class belongs, assuming I know the class name and that the JAR file > definitely includes a class by this name. Not really, no. If you don't know the package name, the class could belong to any package. What package does the annotation @ManagedBean belong too? Well, on my system, there are three ManagedBeans which belong to different packages, so which one did you want? You've got to have the package name or you don't know which class it is.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Getting package info from JAR file laredotornado <laredotornado@zipmail.com> - 2011-10-04 06:51 -0700
Re: Getting package info from JAR file markspace <-@.> - 2011-10-04 07:16 -0700
Re: Getting package info from JAR file "John B. Matthews" <nospam@nospam.invalid> - 2011-10-04 13:49 -0400
csiph-web