src.utilities.JarMakerEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jt400-jdk9 Show documentation
Show all versions of jt400-jdk9 Show documentation
The Open Source version of the IBM Toolbox for Java
The newest version!
///////////////////////////////////////////////////////////////////////////////
//
// JTOpen (IBM Toolbox for Java - OSS version)
//
// Filename: JarMakerEvent.java
//
// The source code contained herein is licensed under the IBM Public License
// Version 1.0, which has been approved by the Open Source Initiative.
// Copyright (C) 1997-2000 International Business Machines Corporation and
// others. All rights reserved.
//
///////////////////////////////////////////////////////////////////////////////
package utilities;
/**
The JarMakerEvent class represents a JarMaker event.
**/
public class JarMakerEvent extends java.util.EventObject
{
private static final String copyright = "Copyright (C) 1997-2000 International Business Machines Corporation and others.";
static final long serialVersionUID = -8608410039955840303L;
String jarEntryName_;
/**
* Constructs a JarMakerEvent object.
* @param source The object where the event originated.
* @param jarEntryName The name of the jar entry being processed.
* For example, com/ibm/as400/access/AS400.class
**/
public JarMakerEvent (Object source, String jarEntryName)
{
super (source); // note: the superclass checks for null
if (jarEntryName == null) throw new NullPointerException ("jarEntryName");
jarEntryName_ = jarEntryName;
}
/**
* Returns the name of the jar entry being processed.
* @return The name of the jar entry being processed.
* For example, com/ibm/as400/access/AS400.class
**/
public String getJarEntryName () { return jarEntryName_; }
/**
* Returns the name of the jar entry being processed.
* @return The name of the jar entry being processed.
* For example, com/ibm/as400/access/AS400.class
**/
public String toString () { return jarEntryName_; }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy