BlueSpray - Help
© SchoonerTurtles, Inc. 2012-2015

Introduction
Contents
Getting Started
Download
Navigating
Tutorials
Scripting
Advanced
About

Class STIOManager

Static Functions

ReturnsFunctionThrows
STIO GetHandler(STFileHandler.MODE TheMode,String ThePath,Class TheClass) Exception
Load(String Path,STBase TheObject) Exception
Load(String Path,STBase TheObject,
     boolean ShowSettingsDialogs)
Exception
Save(String Path,STBase TheObject) Exception
Save(String Path,STBase TheObject,boolean ShowDialogs) Exception

Static Functions


STIO GetHandler(STFileHandler.MODE TheMode,String ThePath,Class TheClass) Exception

Returns an appropriate IO hanlder for the specified path.
jjg - needs additions for database and network IO

Parameters:
    TheMode
    ThePath
    TheClass
Returns:
Throws: Exception


Load(String Path,STBase TheObject) Exception

Loads an object from a file.

Parameters:
    FilePath - path to the file on disk
    TheObject - the object to load the data into
Throws: Exception


Load(String Path,STBase TheObject,
     boolean ShowSettingsDialogs) Exception

Load from a file into an existing object.

Parameters:
    FilePath - path to the file on disk
    TheObject - the object to load the data into
    ShowSettingsDialogs - true to present the user with options if available
Throws: Exception


Save(String Path,STBase TheObject) Exception

Saves the object based on its content and the current file path and other settings.

Parameters:
    FilePath
    TheObject
Throws: Exception


Save(String Path,STBase TheObject,boolean ShowDialogs) Exception

Saves the object based on its content and the current file path and other settings.

Parameters:
    FilePath
    TheObject
Throws: Exception