SRJRCFrames
v0.1.296

de.schwarzrot.data.access
Interface Importer

All Known Implementing Classes:
XMLImporter

public interface Importer

interface to implement import functionality. An Importer, as well as an Exporter should be able to handle transformation of several entities with all relations and handling of different key sequences.

Author:
Reinhard Mantey

Method Summary
 Object performImport(File source)
          imports entity instances from given file
 Object performImport(String source)
          reads import data from given string
 void setEntityDescriptorAccessor(EntityDescriptorAccessor eda)
          injection method: sets the description accessor to access EntityDescriptions
 

Method Detail

performImport

Object performImport(File source)
                     throws Exception
imports entity instances from given file

Parameters:
source - - the file to import
Returns:
- the imported Object
Throws:
Exception - - depends on implementation

performImport

Object performImport(String source)
                     throws Exception
reads import data from given string

Parameters:
source - - the data to import
Returns:
- the imported Object
Throws:
Exception - - depends on implementation

setEntityDescriptorAccessor

void setEntityDescriptorAccessor(EntityDescriptorAccessor eda)
injection method: sets the description accessor to access EntityDescriptions

Parameters:
eda - - the accessor to use

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
Submit a bug or request a feature

SRJRCFrames is published according to the GNU General Public License
Copyright 2005-2012 Reinhard Mantey - some rights reserved.