ch.odi.justblog.command
Class SetUrl

java.lang.Object
  extended bych.odi.justblog.command.SetUrl
All Implemented Interfaces:
Command

public class SetUrl
extends java.lang.Object
implements Command

Sets a new URL for the session.

Author:
oglueck

Constructor Summary
SetUrl(java.net.URL url)
           
 
Method Summary
 void execute(ISession session)
          Executes the command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetUrl

public SetUrl(java.net.URL url)
Method Detail

execute

public void execute(ISession session)
             throws CommandException
Description copied from interface: Command
Executes the command. The session may be modified by the command.

Specified by:
execute in interface Command
Parameters:
session - The session.
Throws:
CommandException


Copyright © 2005 Ortwin Glück. All Rights Reserved.