Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ttsolver
Class TimetableSaver

    java.lang.Object
      ttsolver.TimetableSaver

Direct Known Subclasses:
  TimetableXMLSaver

    public abstract class TimetableSaver

extends Object

Abstract timetable saver class.

Version:
  1.0
Author:
  Tomáš Müller

Constructor Summary
`TimetableSaver(Solution solution)` Constructor

Method Summary
`protected TimetableModel` | `getModel()` Model of the solution
`protected Solution` | `getSolution()` Solution to be saved
`abstract void` | `save(PrintWriter out)` Save the solution

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TimetableSaver

    public TimetableSaver(Solution solution)

  Constructor

  Parameters:
    `solution` - solution to be saved

Method Detail

### getSolution

    protected Solution getSolution()

  Solution to be saved

### getModel

    protected TimetableModel getModel()

  Model of the solution

### save

    public abstract void save(PrintWriter out)
                       throws Exception

  Save the solution

  Parameters:
    `out` - some error/warning/info messages could be printed here
  Throws:
    `Exception`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005 Tomáš Müller