Sweet Home 3D 4.1

com.eteks.sweethome3d.model
Interface HomeRecorder

All Known Implementing Classes:
HomeAppletRecorder, HomeFileRecorder

public interface HomeRecorder

Homes recorder.

Author:
Emmanuel Puybaret

Nested Class Summary
static class HomeRecorder.Type
          Recorder type used as a hint to select a home recorder.
 
Method Summary
 boolean exists(String name)
          Returns true if the home with a given name exists.
 Home readHome(String name)
          Returns a home instance read from its name.
 void writeHome(Home home, String name)
          Writes home data.
 

Method Detail

writeHome

void writeHome(Home home,
               String name)
               throws RecorderException
Writes home data.

Parameters:
home - the home to write.
name - the name of the resource in which the home will be written.
Throws:
RecorderException

readHome

Home readHome(String name)
              throws RecorderException
Returns a home instance read from its name.

Parameters:
name - the name of the resource from which the home will be read.
Throws:
RecorderException

exists

boolean exists(String name)
               throws RecorderException
Returns true if the home with a given name exists.

Parameters:
name - the name of the resource to check
Throws:
RecorderException

Sweet Home 3D 4.1

© Copyrights 2006-2013 eTeks - All rights reserved
Distributed under GNU General Public License