|
Sweet Home 3D 4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eteks.sweethome3d.applet.HomeAppletRecorder
public class HomeAppletRecorder
Recorder that stores homes on a HTTP server.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.eteks.sweethome3d.model.HomeRecorder |
---|
HomeRecorder.Type |
Constructor Summary | |
---|---|
HomeAppletRecorder(String writeHomeURL,
String readHomeURL,
String listHomesURL)
Creates a recorder that will use the URLs in parameter to write, read and list homes. |
|
HomeAppletRecorder(String writeHomeURL,
String readHomeURL,
String listHomesURL,
boolean includeTemporaryContent)
Creates a recorder that will use the URLs in parameter to write, read and list homes. |
|
HomeAppletRecorder(String writeHomeURL,
String readHomeURL,
String listHomesURL,
ContentRecording contentRecording)
Creates a recorder that will use the URLs in parameter to write, read and list homes. |
Method Summary | |
---|---|
boolean |
exists(String name)
Returns true if the home name exists. |
String[] |
getAvailableHomes()
Returns the available homes on server. |
Home |
readHome(String name)
Returns a home instance read from its file name . |
void |
writeHome(Home home,
String name)
Posts home data to the server URL returned by getHomeSaveURL . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HomeAppletRecorder(String writeHomeURL, String readHomeURL, String listHomesURL)
SweetHome3DApplet
public HomeAppletRecorder(String writeHomeURL, String readHomeURL, String listHomesURL, boolean includeTemporaryContent)
SweetHome3DApplet
public HomeAppletRecorder(String writeHomeURL, String readHomeURL, String listHomesURL, ContentRecording contentRecording)
SweetHome3DApplet
Method Detail |
---|
public void writeHome(Home home, String name) throws RecorderException
getHomeSaveURL
.
writeHome
in interface HomeRecorder
home
- the home to write.name
- the name of the resource in which the home will be written.
RecorderException
- if a problem occurred while writing home.public Home readHome(String name) throws RecorderException
name
.
readHome
in interface HomeRecorder
name
- the name of the resource from which the home will be read.
RecorderException
- if a problem occurred while reading home,
or if file name
doesn't exist.public boolean exists(String name) throws RecorderException
true
if the home name
exists.
exists
in interface HomeRecorder
name
- the name of the resource to check
RecorderException
public String[] getAvailableHomes() throws RecorderException
RecorderException
|
Sweet Home 3D 4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() |
© Copyrights 2006-2013 eTeks - All rights reserved
Distributed under GNU General Public License |