net.sf.kagiru.io
Class XmlPuzzleSaveCommand

java.lang.Object
  extended by net.sf.myjaut.xml.XmlWriter
      extended by net.sf.kagiru.io.XmlPuzzleSaveCommand
All Implemented Interfaces:
Command<PuzzleSavingException>

public class XmlPuzzleSaveCommand
extends XmlWriter
implements Command<PuzzleSavingException>


Constructor Summary
XmlPuzzleSaveCommand(Puzzle puzzle, java.io.File file)
           
XmlPuzzleSaveCommand(Puzzle puzzle, java.lang.String filename)
           
 
Method Summary
 void execute()
           
 
Methods inherited from class net.sf.myjaut.xml.XmlWriter
close, closeTag, openTag, write, writeEmptyTag, writeTag, writeTag, writeTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlPuzzleSaveCommand

public XmlPuzzleSaveCommand(Puzzle puzzle,
                            java.io.File file)
                     throws java.io.IOException
Throws:
java.io.IOException

XmlPuzzleSaveCommand

public XmlPuzzleSaveCommand(Puzzle puzzle,
                            java.lang.String filename)
                     throws java.io.IOException
Throws:
java.io.IOException
Method Detail

execute

public void execute()
             throws PuzzleSavingException
Specified by:
execute in interface Command<PuzzleSavingException>
Throws:
PuzzleSavingException


This code documentation is disclosed as part of Kagiru Sudoku. It is licensed under the GNU General Public License (GPL) and comes with NO WARRANTY. See file license.txt for more info.