src
Directory actions
More options
Directory actions
More options
src
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
The Learning Java project is intended to be a collection of Java code snippets useful to beginning Java programmers. The code snippets you see here are taken from other websites. The specific snippets in this collection came from stackoverflow.com and were contributed by others. My interest in posting these snippets is to make them available as working source code that can in turn be freely used. The code snippets shown here do not make up a specific software application either individually or collectively. Instead, they are intended to be complete Java methods that can do useful utility functions or which show beginning Java programmers how to perform some task. For example, the first code snippet being contributed is a set of two classes which show how to extract and publish attributes from a JAR file's manifest file. The files being pushed to the repository were created and pushed by the NetBeans version 7.2 IDE. If you clone the repository, you may well get the clone in the form of a NetBeans project. List of code snippets: 1. Bobapp2.java -- main class that calls packageVersion.java 2. PackageVersion.Java -- searches for and prints manifest file attributes to standard output. Specifically, it searches for and prints build date and time information, a bundle version number string, and the developer's name and email address. 3. build.xml -- Ant task which defines attributes supporting the metadata being extracted above. This repository was started by Bob Cochran. Bob's email address is [email protected]. Some snippets are from other websites, contributed by various authors. PackageVersion.java and the build.xml file were taken from stackoverflow.com.