jpl.eda.util
Class DescribeJar
java.lang.Object
jpl.eda.util.DescribeJar
- public class DescribeJar
- extends java.lang.Object
Describes a JAR file.
This utility program adds descriptive metadata to a JAR file. It writes a
META-INF/jar.rdf
entry containing metadata in RDF format that describe the
creator, date, description, project, publisher, rights, and version of the JAR file.
Values for the metadata come from the system properties. The properties and their
defaults are as follows:
Property |
Use |
Default |
baseURL |
Base URL to use in the resource being described; JAR file name is appended to this URL. |
http://enterprise.jpl.nasa.gov/jars/ |
user.name |
Creator of the JAR |
Your account name (built-in Java system property) |
date |
Date JAR was created |
Current date/time in ISO format |
description |
Description of the contents of the JAR |
A JAR File |
project |
Project that produced the JAR |
eda |
publisher |
Who publishes the JAR |
NASA Jet Propulsion Laboratory |
rights |
Intellectual property rights to the JAR |
Copyright 2002 California Institute of Technology. ALL RIGHTS RESERVED. U.S. Government
Sponsorship acknowledged. |
version |
Version number of the project that produced the JAR |
1.0.0 |
The defaults, as you can see, are fairly reasonable for the EDM project only.
- Author:
- Kelly
Field Summary |
static com.hp.hpl.mesa.rdf.jena.model.Property |
creator
|
static com.hp.hpl.mesa.rdf.jena.model.Property |
date
|
static com.hp.hpl.mesa.rdf.jena.model.Property |
description
|
static com.hp.hpl.mesa.rdf.jena.model.Property |
digest
|
static com.hp.hpl.mesa.rdf.jena.model.Property |
project
|
static com.hp.hpl.mesa.rdf.jena.model.Property |
publisher
|
static com.hp.hpl.mesa.rdf.jena.model.Property |
rights
|
static com.hp.hpl.mesa.rdf.jena.model.Property |
version
|
Method Summary |
static void |
main(java.lang.String[] argv)
Run the JAR describer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
creator
public static com.hp.hpl.mesa.rdf.jena.model.Property creator
date
public static com.hp.hpl.mesa.rdf.jena.model.Property date
description
public static com.hp.hpl.mesa.rdf.jena.model.Property description
project
public static com.hp.hpl.mesa.rdf.jena.model.Property project
publisher
public static com.hp.hpl.mesa.rdf.jena.model.Property publisher
rights
public static com.hp.hpl.mesa.rdf.jena.model.Property rights
version
public static com.hp.hpl.mesa.rdf.jena.model.Property version
digest
public static com.hp.hpl.mesa.rdf.jena.model.Property digest
DescribeJar
public DescribeJar()
main
public static void main(java.lang.String[] argv)
throws java.lang.Throwable
- Run the JAR describer.
- Parameters:
argv
- a String[]
value.
- Throws:
java.lang.Throwable
- if an error occurs.
Copyright © 1999-2004 NASA Jet Propulsion Laboratory, California Institute of Technology. All Rights Reserved.