org.scilab.modules.javasci
Class ScilabVariablesJavasci

java.lang.Object
  extended by org.scilab.modules.javasci.ScilabVariablesJavasci
All Implemented Interfaces:
ScilabVariablesHandler

public final class ScilabVariablesJavasci
extends java.lang.Object
implements ScilabVariablesHandler

Class to get Scilab data from a Java call


Method Summary
static ScilabType getScilabVariable(java.lang.String name)
          Get a Scilab variable with a given name
static ScilabType getScilabVariable(java.lang.String name, boolean swapRowCol)
          Get a Scilab variable with a given name
static ScilabType getScilabVariable(java.lang.String name, boolean swapRowCol, boolean byref)
          Get a Scilab variable with a given name
 void handle(ScilabType var)
          Handle a Scilab variable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

handle

public void handle(ScilabType var)
Handle a Scilab variable

Specified by:
handle in interface ScilabVariablesHandler
Parameters:
var - the variable

getScilabVariable

public static final ScilabType getScilabVariable(java.lang.String name,
                                                 boolean swapRowCol,
                                                 boolean byref)
Get a Scilab variable with a given name

Parameters:
name - the variable name
swapRowCol - if true the returned data will be stored row by row
byref - if true the variable is passed by reference if it is possible
Returns:
the corresponding ScilabType object

getScilabVariable

public static final ScilabType getScilabVariable(java.lang.String name,
                                                 boolean swapRowCol)
Get a Scilab variable with a given name

Parameters:
name - the variable name
swapRowCol - if true the returned data will be stored row by row
Returns:
the corresponding ScilabType object

getScilabVariable

public static final ScilabType getScilabVariable(java.lang.String name)
Get a Scilab variable with a given name

Parameters:
name - the variable name
Returns:
the corresponding ScilabType object where the data are stored row by row