A C D E F G I M P R S T V 

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
Add a variable of type byte to a data 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
Add a variable of type double to a data 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
Add a variable of type float to a data 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
Add a variable of type int to a data 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
Add a variable of type long to a data 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
Add a variable of type str to a data 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
Add a variable of type strL to a data frame.
allocate(String) - Static method in class com.stata.sfi.DataFrame
Allocate a new data frame.

C

callGC() - Static method in class com.stata.sfi.SFIToolkit
Call the Java garbage collector. Calling this method should generally be avoided.
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.
createLabel(String) - Static method in class com.stata.sfi.ValueLabel
Create a new value-label name.

D

Data - Class in com.stata.sfi
Routines for interacting with a Stata dataset.
DataFrame - Class in com.stata.sfi
Routines for interacting with a Stata data 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.
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.
dropVar(int) - Static method in class com.stata.sfi.Data
Drop the variable at the specified variable index.

E

error(String) - 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.
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.

F

formatValue(double, String) - Static method in class com.stata.sfi.SFIToolkit
Format a value using a Stata format.
free(String) - Static method in class com.stata.sfi.DataFrame
Free a previously allocated data frame.

G

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.
getFormattedValue(int, long, boolean) - Static method in class com.stata.sfi.Data
Read a value from the current Stata dataset, applying its display format.
getGlobal(String) - 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.
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.
getMataCompAt(String, long, long) - Static method in class com.stata.sfi.Mata
Read a complex Mata matrix entry.
getMataEltype(String) - Static method in class com.stata.sfi.Mata
Get the type of a Mata object.
getMataRealAt(String, long, long) - Static method in class com.stata.sfi.Mata
Read a real Mata matrix entry.
getMataRowTotal(String) - Static method in class com.stata.sfi.Mata
Get the number of rows in a Mata matrix.
getMataStringAt(String, long, long) - Static method in class com.stata.sfi.Mata
Read a string Mata matrix entry.
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 in 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 in 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
Get a Stata missing value.
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
Read a numeric value from a data 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
Get the number of observations in a data frame.
getParsedVarCount() - Static method in class com.stata.sfi.Data
Get the number of variables specified when javacall was called.
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.
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
Read a string value from a data frame.
getStrVarWidth(int) - Static method in class com.stata.sfi.Data
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.
getValue(String) - 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
Get the number of variables in a data 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
Get the format for a variable in a data frame.
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
Look up the variable index for the specified name in the data frame.
getVarLabel(int) - Static method in class com.stata.sfi.Data
Get the label for a Stata variable.
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
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

isMac() - Static method in class com.stata.sfi.util.Platform
Determine if the platform is Mac OS.
isParsedIfTrue(long) - Static method in class com.stata.sfi.Data
Determine if the observation is true given an if condition specified with javacall.
isSolaris() - Static method in class com.stata.sfi.util.Platform
Determine if the platform is Solaris.
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
Test if a value is a Stata missing.
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
Test if a variable is of type str.
isVarTypeString(int) - Static method in class com.stata.sfi.Data
Test if a variable is string or numeric.
isVarTypeString(String, int) - Static method in class com.stata.sfi.DataFrame
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
Test if a variable is of type strL.
isWindows() - Static method in class com.stata.sfi.util.Platform
Determine if the platform is Windows.

M

Macro - Class in com.stata.sfi
Routines for interacting with a Stata macro.
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
Routines for interacting with a Mata matrix.
Matrix - Class in com.stata.sfi
Routines for interacting with a Stata matrix.

P

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.

R

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
 
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.
renameVar(int, String) - Static method in class com.stata.sfi.Data
Rename a Stata variable.

S

Scalar - Class in com.stata.sfi
Routines for interacting with a Stata scalar.
setGlobal(String, 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.
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
Set the number of observations in a data frame.
setSavedPref(String, String, String) - Static method in class com.stata.sfi.util.Preference
Write a saved preference.
setValue(String, double) - 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
Set the format for a variable in a data frame.
setVarLabel(int, String) - Static method in class com.stata.sfi.Data
Set the label for a Stata variable.
setVarValueLabel(int, String) - Static method in class com.stata.sfi.ValueLabel
Set the value label for a variable.
SFIToolkit - Class in com.stata.sfi
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.
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
Store a numeric value in a data 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
Store a string value in a data frame.

T

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
 

V

ValueLabel - Class in com.stata.sfi
Routines for interacting with Stata value labels.
A C D E F G I M P R S T V