Compoze Software, Inc.

com.compoze.util
Class ProductInformation

java.lang.Object
  extended bycom.compoze.util.ProductInformation

public class ProductInformation
extends java.lang.Object

This class provides the ability to lookup a list of information about the current installed Compoze products.


Nested Class Summary
 class ProductInformation.Product
          This class represents information about a product.
 
Method Summary
 ProductInformation.Product[] getProducts()
          Get a list of Compoze products available in the current CLASSPATH.
static ProductInformation i()
          Get the singleton instance of this class.
static void main(java.lang.String[] args)
          Main.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

i

public static ProductInformation i()
Get the singleton instance of this class.

Returns:
the singleton instance of this class

getProducts

public ProductInformation.Product[] getProducts()
Get a list of Compoze products available in the current CLASSPATH. This works by reading a properties file from the CLASSPATH named com/compoze/product_information.properties.

Returns:
the list of available products

main

public static void main(java.lang.String[] args)
Main.


Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.