edu.rice.cs.drjava.platform
Class PlatformFactory

java.lang.Object
  extended by edu.rice.cs.drjava.platform.PlatformFactory

public class PlatformFactory
extends Object

Factory class for accessing the appropriate platform-specific implementation of the PlatformSupport interface.

Version:
$Id: PlatformFactory.java 5175 2010-01-20 08:46:32Z mgricken $
See Also:
PlatformSupport

Field Summary
static PlatformSupport ONLY
          A platform-appropriate implementation of the PlatformSupport interface Singleton field populated by the static factory method.
 
Constructor Summary
PlatformFactory()
           
 
Method Summary
private static PlatformSupport getPlatformSupport()
          Static factory method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ONLY

public static final PlatformSupport ONLY
A platform-appropriate implementation of the PlatformSupport interface Singleton field populated by the static factory method.

Constructor Detail

PlatformFactory

public PlatformFactory()
Method Detail

getPlatformSupport

private static PlatformSupport getPlatformSupport()
Static factory method.

Returns:
a platform-appropriate implementation of PlatformSupport