Skip navigation links
A C D E F G I L M P R S T U V W 

A

addVarByte(String) - Static method in class com.stata.sfi.Data
Add a variable of type byte to the current Stata dataset.
addVarByte(String, String) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Add a variable of type byte to a data frame.
addVarByte(String) - Method in class com.stata.sfi.Frame
Add a variable of type byte to the frame.
addVarDouble(String) - Static method in class com.stata.sfi.Data
Add a variable of type double to the current Stata dataset.
addVarDouble(String, String) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Add a variable of type double to a data frame.
addVarDouble(String) - Method in class com.stata.sfi.Frame
Add a variable of type double to the frame.
addVarFloat(String) - Static method in class com.stata.sfi.Data
Add a variable of type float to the current Stata dataset.
addVarFloat(String, String) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Add a variable of type float to a data frame.
addVarFloat(String) - Method in class com.stata.sfi.Frame
Add a variable of type float to the frame.
addVarInt(String) - Static method in class com.stata.sfi.Data
Add a variable of type int to the current Stata dataset.
addVarInt(String, String) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Add a variable of type int to a data frame.
addVarInt(String) - Method in class com.stata.sfi.Frame
Add a variable of type int to the frame.
addVarLong(String) - Static method in class com.stata.sfi.Data
Add a variable of type long to the current Stata dataset.
addVarLong(String, String) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Add a variable of type long to a data frame.
addVarLong(String) - Method in class com.stata.sfi.Frame
Add a variable of type long to the frame.
addVarStr(String, int) - Static method in class com.stata.sfi.Data
Add a variable of type str to the current Stata dataset.
addVarStr(String, String, int) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Add a variable of type str to a data frame.
addVarStr(String, int) - Method in class com.stata.sfi.Frame
Add a variable of type str to the frame.
addVarStrL(String) - Static method in class com.stata.sfi.Data
Add a variable of type strL to the current Stata dataset.
addVarStrL(String, String) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Add a variable of type strL to a data frame.
addVarStrL(String) - Method in class com.stata.sfi.Frame
Add a variable of type strL to the frame.
allocate(String) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Allocate a new data frame.
allocateStrL(StrLConnector, long) - Static method in class com.stata.sfi.Data
Allocate a strL so that a buffer can be stored using writeBytes; the contents of the strL will not be initialized.
allocateStrL(StrLConnector, long, boolean) - Static method in class com.stata.sfi.Data
Allocate a strL so that a buffer can be stored using writeBytes; the contents of the strL will not be initialized.
allocateStrL(StrLConnector, long) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Allocate a strL so that a buffer can be stored using writeBytes; the contents of the strL will not be initialized.
allocateStrL(StrLConnector, long, boolean) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Allocate a strL so that a buffer can be stored using writeBytes; the contents of the strL will not be initialized.
allocateStrL(StrLConnector, long) - Method in class com.stata.sfi.Frame
Allocate a strL so that a buffer can be stored using writeBytes; the contents of the strL will not be initialized.
allocateStrL(StrLConnector, long, boolean) - Method in class com.stata.sfi.Frame
Allocate a strL so that a buffer can be stored using writeBytes; the contents of the strL will not be initialized.

C

callGC() - Static method in class com.stata.sfi.SFIToolkit
Call the Java garbage collector. Calling this method should generally be avoided.
changeToCWF() - Method in class com.stata.sfi.Frame
Set the Frame as the current working frame in Stata.
Characteristic - Class in com.stata.sfi
This class provides access to Stata characteristics.
clone(String) - Method in class com.stata.sfi.Frame
Create a new Frame instance by cloning the current Frame and its contents.
close() - Method in class com.stata.sfi.StrLConnector
Close the connection and release any resources.
com.stata.sfi - package com.stata.sfi
The Stata Function Interface (SFI) provides the classes necessary for Java to interact with core features of Stata.
com.stata.sfi.util - package com.stata.sfi.util
Provides a set of utility classes for extending the functionality of the Stata Function Interface (SFI).
connect(String) - Static method in class com.stata.sfi.Frame
Connect to an existing frame in Stata and return a new Frame instance that can be used to access it.
convertSymmetricToStd(String) - Static method in class com.stata.sfi.Matrix
Convert a symmetric matrix to a standard matrix.
create(String) - Static method in class com.stata.sfi.Frame
Create a new frame in Stata and return a new Frame instance that can be used to access it.
createLabel(String) - Static method in class com.stata.sfi.ValueLabel
Create a new value-label name.
createMatrix(String, int, int, double) - Static method in class com.stata.sfi.Matrix
Create a Stata matrix.
createMatrix(String, int, int, double, boolean) - Static method in class com.stata.sfi.Matrix
Create a Stata matrix.

D

Data - Class in com.stata.sfi
This class provides access to the current Stata dataset.
DataFrame - Class in com.stata.sfi
Deprecated.
As of Stata 16, this class has been superseded by com.stata.sfi.Frame.
deleteSavedPref(String, String) - Static method in class com.stata.sfi.util.Preference
Delete a saved preference.
display(String) - Static method in class com.stata.sfi.SFIToolkit
Output a string to the Stata Results window.
display(String, boolean) - Static method in class com.stata.sfi.SFIToolkit
Output a string to the Stata Results window.
displayln(String) - Static method in class com.stata.sfi.SFIToolkit
Output a string to the Stata Results window and automatically add a line terminator at the end.
drop() - Method in class com.stata.sfi.Frame
Drop the frame in Stata.
dropVar(int) - Static method in class com.stata.sfi.Data
Drop the variable at the specified variable index.
dropVar(String, int) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Drop the variable at the specified variable index.
dropVar(int) - Method in class com.stata.sfi.Frame
Drop the variable at the specified variable index.

E

error(int) - Static method in class com.stata.sfi.SFIToolkit
Deprecated.
Use SFIToolkit.errorMsg(int) instead. This function will cease to exist in Stata 17.
error(String) - Static method in class com.stata.sfi.SFIToolkit
Output a string to the Stata Results window as an error.
error(String, boolean) - Static method in class com.stata.sfi.SFIToolkit
Output a string to the Stata Results window as an error.
errorDebug(String) - Static method in class com.stata.sfi.SFIToolkit
Output a string to the Stata Results window as an error if set debug on is enabled.
errorDebug(String, boolean) - Static method in class com.stata.sfi.SFIToolkit
Output a string to the Stata Results window as an error if set debug on is enabled.
errorln(String) - Static method in class com.stata.sfi.SFIToolkit
Output a string to the Stata Results window and automatically add a line terminator at the end.
errorMsg(int) - Static method in class com.stata.sfi.SFIToolkit
Output the standard Stata error message associated with return code rc to the Stata Results window.
executeCommand(String, boolean) - Static method in class com.stata.sfi.SFIToolkit
Execute a Stata command.

F

formatValue(double, String) - Static method in class com.stata.sfi.SFIToolkit
Format a value using a Stata format.
Frame - Class in com.stata.sfi
This class provides access to Stata frames.
FrameException - Exception in com.stata.sfi
The FrameException class is used to indicate that an exceptional condition has occurred with a Frame.
FrameException(int) - Constructor for exception com.stata.sfi.FrameException
Constructs an instance of FrameException with the specified error code.
FrameException(String, int) - Constructor for exception com.stata.sfi.FrameException
Constructs an instance of FrameException with the specified detail message and error code.
free(String) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Free a previously allocated data frame.

G

getAt(double[], int, int, int) - Static method in class com.stata.sfi.Matrix
Access an element of a previously obtained Stata matrix in the form of a one-dimensional array.
getBestType(double) - Static method in class com.stata.sfi.Data
Get the best numeric data type for the specified value.
getCallerVersion() - Static method in class com.stata.sfi.SFIToolkit
Get the version number of the calling program.
getComplexAt(double[], int, int, int) - Static method in class com.stata.sfi.Mata
Get an element from a previously returned matrix.
getComplexValues(double[], Double, Double) - Static method in class com.stata.sfi.Mata
Get the real and imaginary parts from a complex result.
getDtaChar(String) - Static method in class com.stata.sfi.Characteristic
Get a characteristic for the current dataset.
getErrorCode() - Method in exception com.stata.sfi.SFIException
Returns The error code.
getFormattedValue(int, long, boolean) - Static method in class com.stata.sfi.Data
Read a value from the current Stata dataset, applying its display format.
getFormattedValue(int, long, boolean) - Method in class com.stata.sfi.Frame
Read a value from the frame, applying its display format.
getFrameAt(int) - Static method in class com.stata.sfi.Frame
Utility method for getting the name of a Stata frame at a given index.
getFrameCount() - Static method in class com.stata.sfi.Frame
Utility method for getting the number of frames in Stata.
getGlobal(String) - Static method in class com.stata.sfi.Macro
Get the contents of a global macro.
getGlobal(String, int) - Static method in class com.stata.sfi.Macro
Get the contents of a global macro.
getGlobalSafe(String) - Static method in class com.stata.sfi.Macro
Get the contents of a global macro without returning null.
getGlobalSafe(String, int) - Static method in class com.stata.sfi.Macro
Get the contents of a global macro without returning null.
getLabel(String, int) - Static method in class com.stata.sfi.ValueLabel
Get the label for a specified value-label value.
getLabels(String) - Static method in class com.stata.sfi.ValueLabel
Get the labels for a specified value-label name.
getLocal(String) - Static method in class com.stata.sfi.Macro
Get the contents of a local macro.
getLocalSafe(String) - Static method in class com.stata.sfi.Macro
Get the contents of a local macro without returning null.
getMataColTotal(String) - Static method in class com.stata.sfi.Mata
Get the number of columns in a Mata matrix.
getMataComp(String) - Static method in class com.stata.sfi.Mata
Deprecated.
This method is not capable of returning the matrix if the resulting array would exceed 2^31-1 elements. Use Mata.getMataCompAt(String, long, long) instead.
getMataCompAt(String, long, long) - Static method in class com.stata.sfi.Mata
Read a complex Mata matrix element.
getMataEltype(String) - Static method in class com.stata.sfi.Mata
Get the type of a Mata object.
getMataReal(String) - Static method in class com.stata.sfi.Mata
Deprecated.
This method is not capable of returning the matrix if the resulting array would exceed 2^31-1 elements. Use Mata.getMataRealAt(String, long, long) instead.
getMataRealAt(String, long, long) - Static method in class com.stata.sfi.Mata
Read a real Mata matrix element.
getMataRowTotal(String) - Static method in class com.stata.sfi.Mata
Get the number of rows in a Mata matrix.
getMataString(String) - Static method in class com.stata.sfi.Mata
Deprecated.
This method is not capable of returning the matrix if the resulting array would exceed 2^31-1 elements. Use Mata.getMataStringAt(String, long, long) instead.
getMataStringAt(String, long, long) - Static method in class com.stata.sfi.Mata
Read a string Mata matrix element.
getMatrix(String) - Static method in class com.stata.sfi.Matrix
Get the data in a Stata matrix.
getMatrixCol(String) - Static method in class com.stata.sfi.Matrix
Get the number of columns in a Stata matrix.
getMatrixColNames(String) - Static method in class com.stata.sfi.Matrix
Get the column names of a Stata matrix.
getMatrixRow(String) - Static method in class com.stata.sfi.Matrix
Get the number of rows in a Stata matrix.
getMatrixRowNames(String) - Static method in class com.stata.sfi.Matrix
Get the row names of a Stata matrix.
getMaxStrLength() - Static method in class com.stata.sfi.Data
Get the maximum length of a Stata string variable of type str.
getMaxVars() - Static method in class com.stata.sfi.Data
Get the maximum number of variables Stata currently allows.
getMissingValue() - Static method in class com.stata.sfi.Data
Deprecated.
Missing.getValue() should be used instead.
getNames() - Static method in class com.stata.sfi.ValueLabel
Get the names of all value labels in the current dataset.
getNum(int, long) - Static method in class com.stata.sfi.Data
Read a numeric value from the current Stata dataset.
getNum(String, int, long) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Read a numeric value from a data frame.
getNum(int, long) - Method in class com.stata.sfi.Frame
Read a numeric value from the frame.
getObsParsedIn1() - Static method in class com.stata.sfi.Data
Get the first in a range of observations if javacall was called with the in qualifier.
getObsParsedIn2() - Static method in class com.stata.sfi.Data
Get the last in a range of observations if javacall was called with the in qualifier.
getObsTotal() - Static method in class com.stata.sfi.Data
Get the number of observations in the current Stata dataset.
getObsTotal(String) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Get the number of observations in a data frame.
getObsTotal() - Method in class com.stata.sfi.Frame
Get the number of observations in the frame.
getParsedVarCount() - Static method in class com.stata.sfi.Data
Get the number of variables specified when javacall was called.
getPosition() - Method in class com.stata.sfi.StrLConnector
Get the current access position.
getRealAt(double[], int, int, int) - Static method in class com.stata.sfi.Mata
Get an element from a previously returned matrix.
getRealOfString(String) - Static method in class com.stata.sfi.Data
Get the double representation of a String using Stata's real() function.
getSavedPref(String, String, String) - Static method in class com.stata.sfi.util.Preference
Get a saved preference.
getSize() - Method in class com.stata.sfi.StrLConnector
Get the total number of bytes available in the strL.
getStr(int, long) - Static method in class com.stata.sfi.Data
Read a string value from the current Stata dataset.
getStr(String, int, long) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Read a string value from a data frame.
getStr(int, long) - Method in class com.stata.sfi.Frame
Read a string value from the frame.
getStrf(int, long) - Static method in class com.stata.sfi.Data
Read a string value from the current Stata dataset.
getStrf(int, long) - Method in class com.stata.sfi.Frame
Read a string value from the frame.
getString(String) - Static method in class com.stata.sfi.Scalar
Get the contents of a Stata string scalar.
getString(String, int) - Static method in class com.stata.sfi.Scalar
Get the contents of a Stata string scalar.
getStringAt(String[], int, int, int) - Static method in class com.stata.sfi.Mata
Get an element from a previously returned matrix.
getStrVarWidth(int) - Static method in class com.stata.sfi.Data
Get the width of a variable of type str.
getStrVarWidth(String, int) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Get the width of a variable of type str.
getStrVarWidth(int) - Method in class com.stata.sfi.Frame
Get the width of a variable of type str.
getTempFile() - Static method in class com.stata.sfi.SFIToolkit
Get a valid Stata temporary filename.
getTempName() - Static method in class com.stata.sfi.SFIToolkit
Get a valid Stata temporary name.
getType(int) - Static method in class com.stata.sfi.Data
Get the data type for the specified variable.
getType(String, int) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Get the numeric data type for the specified variable.
getType(int) - Method in class com.stata.sfi.Frame
Get the numeric data type for the specified variable.
getValue() - Static method in class com.stata.sfi.Missing
Get the numeric value that represents the system missing value in Stata.
getValue(Missing.Extended) - Static method in class com.stata.sfi.Missing
Get the numeric value that represents an extended missing value in Stata.
getValue(String) - Static method in class com.stata.sfi.Scalar
Get the contents of a Stata scalar.
getValue(String, int) - Static method in class com.stata.sfi.Scalar
Get the contents of a Stata scalar.
getValueLabels(String) - Static method in class com.stata.sfi.ValueLabel
Get the values and labels for a specified value-label name.
getValues(String) - Static method in class com.stata.sfi.ValueLabel
Get the values associated with a single value-label name.
getVarCount() - Static method in class com.stata.sfi.Data
Get the number of variables in the current Stata dataset.
getVarCount(String) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Get the number of variables in a data frame.
getVarCount() - Method in class com.stata.sfi.Frame
Get the number of variables in the frame.
getVarFormat(int) - Static method in class com.stata.sfi.Data
Get the format for a Stata variable.
getVarFormat(String, int) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Get the format for a variable in a data frame.
getVarFormat(int) - Method in class com.stata.sfi.Frame
Get the format for a variable in the frame.
getVariableChar(String, String) - Static method in class com.stata.sfi.Characteristic
Get a characteristic for a variable in the current dataset.
getVarIndex(String) - Static method in class com.stata.sfi.Data
Look up the variable index for the specified name in the current Stata dataset.
getVarIndex(String, String) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Look up the variable index for the specified name in the data frame.
getVarIndex(String) - Method in class com.stata.sfi.Frame
Look up the variable index for the specified variable name in the frame.
getVarLabel(int) - Static method in class com.stata.sfi.Data
Get the label for a Stata variable.
getVarLabel(int) - Method in class com.stata.sfi.Frame
Get the label for a variable in the frame.
getVarName(int) - Static method in class com.stata.sfi.Data
Get the variable name at a given variable index.
getVarName(String, int) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Get the variable name at a given variable index.
getVarName(int) - Method in class com.stata.sfi.Frame
Get the variable name at a given variable index.
getVarValueLabel(int) - Static method in class com.stata.sfi.ValueLabel
Get the value-label name associated with a variable.
getWorkingDir() - Static method in class com.stata.sfi.SFIToolkit
Get the current Stata working directory.

I

isBinary() - Method in class com.stata.sfi.StrLConnector
Determine if the attached strL has been marked as binary.
isLinux() - Static method in class com.stata.sfi.util.Platform
Determine if the platform is Linux.
isMac() - Static method in class com.stata.sfi.util.Platform
Determine if the platform is Mac OS.
isMac(String) - Static method in class com.stata.sfi.util.Platform
Determine if the platform is Mac and the version is greater than or equal to the version specified.
isMissing(double) - Static method in class com.stata.sfi.Missing
Test if a value is a Stata missing.
isParsedIfTrue(long) - Static method in class com.stata.sfi.Data
Determine if an observation for the if expression qualifier used with javacall is true or false.
isSolaris() - Static method in class com.stata.sfi.util.Platform
Determine if the platform is Solaris.
isStataMissing(String) - Static method in class com.stata.sfi.Data
Deprecated.
Missing.parseIsMissing(String) should be used instead.
isTypeComplex(String) - Static method in class com.stata.sfi.Mata
Determine if the matrix type is complex.
isTypeReal(String) - Static method in class com.stata.sfi.Mata
Determine if the matrix type is real.
isTypeString(String) - Static method in class com.stata.sfi.Mata
Determine if the matrix type is string.
isUnix() - Static method in class com.stata.sfi.util.Platform
Determine if the platform is Unix or Linux.
isValidName(String) - Static method in class com.stata.sfi.SFIToolkit
Check if a String is a valid Stata name.
isValidVariableName(String) - Static method in class com.stata.sfi.SFIToolkit
Check if a String is a valid Stata variable name.
isValueMissing(double) - Static method in class com.stata.sfi.Data
Deprecated.
Missing.isMissing(double) should be used instead.
isVarlistSpecified() - Static method in class com.stata.sfi.Data
Determine if a varlist was specified with javacall.
isVarTypeStr(int) - Static method in class com.stata.sfi.Data
Test if a variable is of type str.
isVarTypeStr(String, int) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Test if a variable is of type str.
isVarTypeStr(int) - Method in class com.stata.sfi.Frame
Test if a variable is of type str.
isVarTypeString(int) - Static method in class com.stata.sfi.Data
Test if a variable's type is string.
isVarTypeString(String, int) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Test if a variable is string or numeric.
isVarTypeString(int) - Method in class com.stata.sfi.Frame
Test if a variable is string or numeric.
isVarTypeStrL(int) - Static method in class com.stata.sfi.Data
Test if a variable is of type strL.
isVarTypeStrL(String, int) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Test if a variable is of type strL.
isVarTypeStrL(int) - Method in class com.stata.sfi.Frame
Test if a variable is of type strL.
isWindows() - Static method in class com.stata.sfi.util.Platform
Determine if the platform is Windows.
isWindows(double) - Static method in class com.stata.sfi.util.Platform
Determine if the platform is Windows and the version is greater than or equal to the version specified.

L

loadStataProxySettings() - Static method in class com.stata.sfi.SFIToolkit
Apply Stata's proxy settings to Java.

M

Macro - Class in com.stata.sfi
This class provides access to Stata macros.
makeVarName(String, boolean) - Static method in class com.stata.sfi.Data
Attempt to form a valid variable name from a string.
mapParsedVarIndex(int) - Static method in class com.stata.sfi.Data
Map the variable index from the parsed varlist.
Mata - Class in com.stata.sfi
This class provides access to global Mata matrices.
Matrix - Class in com.stata.sfi
This class provides access to Stata matrices.
Missing - Class in com.stata.sfi
This class provides tools for handling Stata missing values.
Missing() - Constructor for class com.stata.sfi.Missing
 
Missing.Extended - Enum in com.stata.sfi
Mappings that correspond to missing values in Stata.

P

parseIsMissing(String) - Static method in class com.stata.sfi.Missing
Test if a string is a Stata missing.
Platform - Class in com.stata.sfi.util
A set of utilities for getting platform information.
pollnow() - Static method in class com.stata.sfi.SFIToolkit
Request that Stata poll its GUI immediately.
pollstd() - Static method in class com.stata.sfi.SFIToolkit
Request that Stata poll its GUI at the standard interval.
Preference - Class in com.stata.sfi.util
A set of utilities for loading and saving preferences.
processTildePath(String) - Static method in class com.stata.sfi.SFIToolkit
Stata utility to convert a path beginning with a tilde to a user's home directory.

R

RC_BREAK - Static variable in class com.stata.sfi.SFIToolkit
 
RC_GENERAL_ERROR - Static variable in class com.stata.sfi.SFIToolkit
 
RC_GENERAL_EXCEPTION - Static variable in class com.stata.sfi.SFIToolkit
 
RC_SYNTAX_ERROR - Static variable in class com.stata.sfi.SFIToolkit
 
readBytes(StrLConnector, byte[]) - Static method in class com.stata.sfi.Data
Read a sequence of bytes from a strL in the current Stata dataset.
readBytes(StrLConnector, byte[], int, int) - Static method in class com.stata.sfi.Data
Read a sequence of bytes from a strL in the current Stata dataset.
readBytes(StrLConnector, byte[]) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Read a sequence of bytes from a strL in the current Stata dataset.
readBytes(StrLConnector, byte[], int, int) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Read a sequence of bytes from a strL in the current Stata dataset.
readBytes(StrLConnector, byte[]) - Method in class com.stata.sfi.Frame
Read a sequence of bytes from a strL in the current Stata dataset.
readBytes(StrLConnector, byte[], int, int) - Method in class com.stata.sfi.Frame
Read a sequence of bytes from a strL in the current Stata dataset.
removeLabel(String) - Static method in class com.stata.sfi.ValueLabel
Remove a value-label name.
removeLabelValue(String, int) - Static method in class com.stata.sfi.ValueLabel
Remove a value-label value.
removeVarValueLabel(int) - Static method in class com.stata.sfi.ValueLabel
Remove a value-label name from a variable.
rename(String) - Method in class com.stata.sfi.Frame
Rename the frame in Stata.
renameVar(int, String) - Static method in class com.stata.sfi.Data
Rename a Stata variable.
renameVar(int, String) - Method in class com.stata.sfi.Frame
Rename a variable.
reset() - Method in class com.stata.sfi.StrLConnector
Reset the access position to its initial value.
resolvePath(String) - Static method in class com.stata.sfi.SFIToolkit
Resolve a path to a File; the path may be relative to Stata's current working directory, a path beginning with a tilde, or an absolute path.

S

Scalar - Class in com.stata.sfi
This class provides access to Stata scalars.
setDtaChar(String, String) - Static method in class com.stata.sfi.Characteristic
Set a characteristic for the current dataset.
setGlobal(String, String) - Static method in class com.stata.sfi.Macro
Set the value of a global macro.
setGlobal(String, String, int) - Static method in class com.stata.sfi.Macro
Set the value of a global macro.
setGlobal(String, String, int, int) - Static method in class com.stata.sfi.Macro
Set the value of a global macro.
setGlobal(String, String, int, String) - Static method in class com.stata.sfi.Macro
Set the value of a global macro.
setLabelValue(String, int, String) - Static method in class com.stata.sfi.ValueLabel
Set a value and label for a value-label name.
setLocal(String, String) - Static method in class com.stata.sfi.Macro
Set the value of a local macro.
setMatrixColNames(String, String[]) - Static method in class com.stata.sfi.Matrix
Set the column names of a Stata matrix.
setMatrixRowNames(String, String[]) - Static method in class com.stata.sfi.Matrix
Set the row names of a Stata matrix.
setObsTotal(long) - Static method in class com.stata.sfi.Data
Set the number of observations in the current Stata dataset.
setObsTotal(String, long) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Set the number of observations in a data frame.
setObsTotal(long) - Method in class com.stata.sfi.Frame
Set the number of observations in the frame.
setPosition(long) - Method in class com.stata.sfi.StrLConnector
Set the access position.
setSavedPref(String, String, String) - Static method in class com.stata.sfi.util.Preference
Write a saved preference.
setString(String, String) - Static method in class com.stata.sfi.Scalar
Set the contents of a Stata string scalar.
setString(String, String, int) - Static method in class com.stata.sfi.Scalar
Set the contents of a Stata string scalar.
setValue(String, double) - Static method in class com.stata.sfi.Scalar
Set the value of a Stata scalar.
setValue(String, double, int) - Static method in class com.stata.sfi.Scalar
Set the value of a Stata scalar.
setValue(String, double, int, int) - Static method in class com.stata.sfi.Scalar
Set the value of a Stata scalar.
setValue(String, double, int, String) - Static method in class com.stata.sfi.Scalar
Set the value of a Stata scalar.
setVarFormat(int, String) - Static method in class com.stata.sfi.Data
Set the format for a Stata variable.
setVarFormat(String, int, String) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Set the format for a variable in a data frame.
setVarFormat(int, String) - Method in class com.stata.sfi.Frame
Set the format for a variable in the frame.
setVariableChar(String, String, String) - Static method in class com.stata.sfi.Characteristic
Set a characteristic for a variable in the current dataset.
setVarLabel(int, String) - Static method in class com.stata.sfi.Data
Set the label for a Stata variable.
setVarLabel(int, String) - Method in class com.stata.sfi.Frame
Set the label for a variable in the frame.
setVarValueLabel(int, String) - Static method in class com.stata.sfi.ValueLabel
Set the value label for a variable.
SFIException - Exception in com.stata.sfi
Represents a general exception that encapsulates an error code.
SFIException() - Constructor for exception com.stata.sfi.SFIException
Constructs an instance of SFIException with null as its detail message and 0 as its error code.
SFIException(int) - Constructor for exception com.stata.sfi.SFIException
Constructs an instance of SFIException with the specified error code.
SFIException(String, int) - Constructor for exception com.stata.sfi.SFIException
Constructs an instance of SFIException with the specified detail message and error code.
SFIToolkit - Class in com.stata.sfi
This class provides a set of core tools for interacting with Stata.
stackTraceToString(Exception) - Static method in class com.stata.sfi.SFIToolkit
Convert the stack trace from an Exception to a String.
storeBytes(StrLConnector, byte[], boolean) - Static method in class com.stata.sfi.Data
Store a byte buffer to a strL in the current Stata dataset.
storeBytes(String, int, long, byte[], boolean) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Store a byte buffer to a strL in the current Stata dataset.
storeBytes(int, long, byte[], boolean) - Method in class com.stata.sfi.Frame
Store a byte buffer to a strL in the frame.
storeMatrixAt(String, int, int, double) - Static method in class com.stata.sfi.Matrix
Store an element in an existing Stata matrix.
storeNum(int, long, double) - Static method in class com.stata.sfi.Data
Store a numeric value in the current Stata dataset.
storeNum(String, int, long, double) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Store a numeric value in a data frame.
storeNum(int, long, double) - Method in class com.stata.sfi.Frame
Store a numeric value in the frame.
storeNumFast(int, long, double) - Static method in class com.stata.sfi.Data
Store a numeric value in the current Stata dataset.
storeNumFast(int, long, double) - Method in class com.stata.sfi.Frame
Store a numeric value in the frame.
storeStr(int, long, String) - Static method in class com.stata.sfi.Data
Store a string value in the current Stata dataset.
storeStr(String, int, long, String) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Store a string value in a data frame.
storeStr(int, long, String) - Method in class com.stata.sfi.Frame
Store a string value in the frame.
storeStrf(int, long, String) - Static method in class com.stata.sfi.Data
Store a string value in the current Stata dataset.
storeStrf(int, long, String) - Method in class com.stata.sfi.Frame
Store a string value in the frame.
storeStrfFast(int, long, String) - Static method in class com.stata.sfi.Data
Store a string value in the current Stata dataset.
storeStrfFast(int, long, String) - Method in class com.stata.sfi.Frame
Store a string value in the frame.
StrLConnector - Class in com.stata.sfi
This class facilitates access to Stata's strL data type.
StrLConnector(Frame, int, long) - Constructor for class com.stata.sfi.StrLConnector
Creates a StrLConnector and connects it to a specific strL in the specified Frame.
StrLConnector(int, long) - Constructor for class com.stata.sfi.StrLConnector
Creates a StrLConnector and connects it to a specific strL in the Stata dataset; see Data.
StrLConnector(String, int, long) - Constructor for class com.stata.sfi.StrLConnector
Deprecated. 
Synchronized - Annotation Type in com.stata.sfi
Indicates that a method or class is thread-safe and that thread safety has been provided using the Java keyword synchronized.
SynchronizedOnMain - Annotation Type in com.stata.sfi
Indicates that a method or class is thread-safe and that thread safety has been provided using the Java keyword synchronized; execution may be forced back on the main thread, so care must be taken to prevent deadlocks.

T

ThreadSafe - Annotation Type in com.stata.sfi
Indicates that a method or class is thread-safe.
TYPE_BYTE - Static variable in class com.stata.sfi.Data
 
TYPE_DOUBLE - Static variable in class com.stata.sfi.Data
 
TYPE_FLOAT - Static variable in class com.stata.sfi.Data
 
TYPE_INT - Static variable in class com.stata.sfi.Data
 
TYPE_LONG - Static variable in class com.stata.sfi.Data
 
TYPE_STR - Static variable in class com.stata.sfi.Data
 
TYPE_STRL - Static variable in class com.stata.sfi.Data
 

U

updateModified() - Static method in class com.stata.sfi.Data
Inform Stata that its data has been modified.
updateModified() - Method in class com.stata.sfi.Frame
Inform Stata that the frame's data has been modified.

V

ValueLabel - Class in com.stata.sfi
This class provides access to Stata's value labels.
valueOf(String) - Static method in enum com.stata.sfi.Missing.Extended
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.stata.sfi.Missing.Extended
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeBytes(StrLConnector, byte[]) - Static method in class com.stata.sfi.Data
Write a byte buffer to a strL in the current Stata dataset; the strL must be allocated using allocateStrL before calling this method.
writeBytes(StrLConnector, byte[], int, int) - Static method in class com.stata.sfi.Data
Write len bytes from the specified byte buffer starting at offset off to a strL in the current Stata dataset; the strL must be allocated using allocateStrL before calling this method.
writeBytes(StrLConnector, byte[]) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Write a byte buffer to a strL in the current Stata dataset; the strL must be allocated using allocateStrL before calling this method.
writeBytes(StrLConnector, byte[], int, int) - Static method in class com.stata.sfi.DataFrame
Deprecated.
Write len bytes from the specified byte buffer starting at offset off to a strL in the current Stata dataset; the strL must be allocated using allocateStrL before calling this method.
writeBytes(StrLConnector, byte[]) - Method in class com.stata.sfi.Frame
Write a byte buffer to a strL in the current Stata dataset; the strL must be allocated using allocateStrL before calling this method.
writeBytes(StrLConnector, byte[], int, int) - Method in class com.stata.sfi.Frame
Write len bytes from the specified byte buffer starting at offset off to a strL in the current Stata dataset; the strL must be allocated using allocateStrL before calling this method.
A C D E F G I L M P R S T U V W 
Skip navigation links