pl.edu.agh.cast.resources
Interface IExporter

All Known Implementing Classes:
XMLExporter

public interface IExporter

Interface for project and diagram exporters, which can save the diagrams list (whole project) or a single diagram in format which is understandable between different instances and versions of system.

Author:
kpietak

Method Summary
 void export(IDiagram diagram, java.io.File file)
          Exports a single IDiagram to external format and saves the output to specified file
 void export(java.lang.String projectName, java.util.List<IDiagram> diagrams, java.io.File file)
          Exports list of IDiagram objects to external format and saves the output to specified file
 

Method Detail

export

void export(java.lang.String projectName,
            java.util.List<IDiagram> diagrams,
            java.io.File file)
            throws java.io.IOException
Exports list of IDiagram objects to external format and saves the output to specified file

Parameters:
projectName - - project name
diagrams - - list of IDiagram object to be exported
file - - file where exported data will be saved
Throws:
java.io.IOException

export

void export(IDiagram diagram,
            java.io.File file)
            throws java.io.IOException
Exports a single IDiagram to external format and saves the output to specified file

Parameters:
diagram - diagram to export
file - file to save data to
Throws:
java.io.IOException


Copyright © 2007-2008 AGH University of Science and Technology. All Rights Reserved.