Remote Systems
v6.4.1

com.ibm.etools.systems.subsystems.util
Class AbstractLanguageUtility

java.lang.Object
  extended bycom.ibm.etools.systems.subsystems.util.AbstractLanguageUtility
All Implemented Interfaces:
ILanguageUtility
Direct Known Subclasses:
AbstractJavaLanguageUtility

public abstract class AbstractLanguageUtility
extends Object
implements ILanguageUtility

Abstract class for language utility. Language utilities are expected to subclass it.


Field Summary
protected  String language
           
protected  RemoteFileSubSystem subsystem
           
 
Fields inherited from interface com.ibm.etools.systems.subsystems.util.ILanguageUtility
LANGUAGE_C, LANGUAGE_CPP, LANGUAGE_JAVA
 
Constructor Summary
protected AbstractLanguageUtility(RemoteFileSubSystem subsystem, String language)
          Constructor.
 
Method Summary
 String getLanguage()
          Returns the language to which this utility applies.
 RemoteFileSubSystem getSubSystem()
          Returns the subsystem with which the utility is associated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subsystem

protected RemoteFileSubSystem subsystem

language

protected String language
Constructor Detail

AbstractLanguageUtility

protected AbstractLanguageUtility(RemoteFileSubSystem subsystem,
                                  String language)
Constructor.

Parameters:
subsystem - the subsystem with which the utility is associated.
language - the language.
Method Detail

getSubSystem

public RemoteFileSubSystem getSubSystem()
Description copied from interface: ILanguageUtility
Returns the subsystem with which the utility is associated.

Specified by:
getSubSystem in interface ILanguageUtility
Returns:
the subsystem.
See Also:
ILanguageUtility.getSubSystem()

getLanguage

public String getLanguage()
Description copied from interface: ILanguageUtility
Returns the language to which this utility applies. It could be one of LANGUAGE_JAVA, LANGUAGE_C, and LANGUAGE_CPP, or another language.

Specified by:
getLanguage in interface ILanguageUtility
Returns:
the language.
See Also:
ILanguageUtility.getLanguage()

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.