org.flexunit.ant.launcher.commands.player
Class PlayerCommandFactory

java.lang.Object
  extended by org.flexunit.ant.launcher.commands.player.PlayerCommandFactory

public class PlayerCommandFactory
extends java.lang.Object


Constructor Summary
PlayerCommandFactory()
           
 
Method Summary
static PlayerCommand createPlayer(OperatingSystem os, java.lang.String player, java.io.File customCommand, boolean localTrusted)
          Factory method to create the appropriate player and provide it with a set of defaults for the executing platform.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerCommandFactory

public PlayerCommandFactory()
Method Detail

createPlayer

public static PlayerCommand createPlayer(OperatingSystem os,
                                         java.lang.String player,
                                         java.io.File customCommand,
                                         boolean localTrusted)
Factory method to create the appropriate player and provide it with a set of defaults for the executing platform.

Parameters:
os -
player - "flash" or "air"
customCommand -
localTrusted -
Returns:
Desired player command with platform defaults possibly wrapped in a custom command