com.sage.accpac.sm
Class ProgramSet

java.lang.Object
  extended by com.sage.accpac.sm.ProgramSet

@ThreadSafe
public class ProgramSet
extends java.lang.Object

Provides access to information about the programs installed on the System Manager at the end of the connection. For example to find the product series installed on the computer you could use the following code:

 System.out.println("The product series is " + new ProgramSet().getProductSeries());
 
To find out several features you could use:
 ProgramSet ps = new ProgramSet();
 System.out.println("The product series is " + ps.getProductSeries() + " and the version is " + ps.getAccpacVersion());
 

Thread safety
Thread-safe

Constructor Summary
ProgramSet()
           
 
Method Summary
 java.util.Collection<java.lang.String> getInstalledPrograms()
          Get the list of installed programs (prefix and version) as an array of uppercase strings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgramSet

public ProgramSet()
Method Detail

getInstalledPrograms

public final java.util.Collection<java.lang.String> getInstalledPrograms()
Get the list of installed programs (prefix and version) as an array of uppercase strings.

Returns:
An array of Strings, one per program. Each string is already converted to upper case.


Copyright © 2010 Sage Software, Inc. All rights reserved.