content « jar « Java I/O Q&A





1. Viewing contents of a .jar file    stackoverflow.com

What would be the easiest way to view classes, methods, properties, etc. inside a jar file? I'm looking for something equivalent to the very useful Lutz Roeder .NET Reflector - ...

2. how to create a java jar file with only subfolder's content?    stackoverflow.com

Now I am in a temp folder in my dos console. there is a classes folder inside the temp folder. that classes folder contains all my classes started with com.companyName.app folder ...

3. To view the content of .jar file    stackoverflow.com

I do have a .jar file and i need to view the content of the jar files.

  1. Is there any decoder available for decoding the jar file.
  2. I have the solaris environment ...

4. Checking jar file contents are complete    coderanch.com

Hi, I've yet to hear anyone ask this question about a problem I used to have and finally wrote a program to solve. [I}How do you insure that a jar file contains all the needed class files? [/I] I have several utility classes that exist on my CLASSPATH that I use to develop various programs I use. I acccess them via ...

5. view content of file in a jar file    coderanch.com

Hi, Is there a way to view the content of a file that is in a jar file. I can get a list of the files in a jar file by 'jar -tvf name.jar', but is there a way to view the content of a particular file without extracting the jar file.

6. How do I list the content of a file that is packed inside a jar file?    coderanch.com

Jar is an ordinary ZIP archive, you can exctract/view files using ZIP tools. Simple example - commands issued from the linux console: krokodilko@krokodilko:~$ echo test > test.txt krokodilko@krokodilko:~$ echo test1 >> test.txt krokodilko@krokodilko:~$ cat test.txt test test1 krokodilko@krokodilko:~$ jar cf test.jar test.txt krokodilko@krokodilko:~$ jar tf test.jar META-INF/ META-INF/MANIFEST.MF test.txt krokodilko@krokodilko:~$ unzip -l test.jar Archive: test.jar Length Date Time Name --------- ---------- ...

7. modify the jar file content !!    forums.oracle.com

The Java ARchive (JAR) format is based on the standard ZIP file format with an optional manifest file. If you wish to >create JAR files or extract files from a JAR file from within your Java applications, use the java.util.jar package, which >provides classes for reading and writing JAR files. Using the classes provided by the java.util.jar package is very similar ...

8. .jar file contents    forums.oracle.com

Hi, Hi, I received this .zip file with .jar files. When I use JBuilder to see all the classes in them I do not think that I see them all. I was told that there is a way to do it. I was told to first expand the .zip file and then add each jar to the classpath of the IDE/build ...

9. Adding file contents to a jar using jar API    forums.oracle.com

A quick google search resulted in [java.util.jar|http://java.sun.com/javase/6/docs/api/java/util/jar/package-summary.html] with the only way to add/remove a file programmically is to create a temporary jar and write everything you want in that one (including the new file, or omitting the file you don't want), removing the old one, and renaming the temporary jar as the old jar file. Looking at the Jar API doesn't ...





11. Jar file META-INF content    forums.oracle.com

12. Viewing the contents of jar files    forums.oracle.com

13. Replace the content of a file in a jar file dynamically.    forums.oracle.com

Ok, I know this, but I don't want to alter the jar file. I just want that my application see a new content for a file that is inside the jar file. I want something like loading an external resource make this act replace the content of the resource that is inside the jar file.

14. Jar file contents    forums.oracle.com