Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
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.
addVarDouble(String)
- Static method in class com.stata.sfi.
Data
Add a variable of type
double
to the current Stata dataset.
addVarFloat(String)
- Static method in class com.stata.sfi.
Data
Add a variable of type
float
to the current Stata dataset.
addVarInt(String)
- Static method in class com.stata.sfi.
Data
Add a variable of type
int
to the current Stata dataset.
addVarLong(String)
- Static method in class com.stata.sfi.
Data
Add a variable of type
long
to the current Stata dataset.
addVarStr(String, int)
- Static method in class com.stata.sfi.
Data
Add a variable of type
str
to the current Stata dataset.
addVarStrL(String)
- Static method in class com.stata.sfi.
Data
Add a variable of type
strL
to the current Stata dataset.
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 to 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.
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.
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, int, 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
.
getMataCol(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
Read a complex Mata matrix.
getMataCompAt(String, int, int)
- 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.
getMataReal(String)
- Static method in class com.stata.sfi.
Mata
Read a real Mata matrix.
getMataRealAt(String, int, int)
- Static method in class com.stata.sfi.
Mata
Read a real Mata matrix entry.
getMataRow(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
Read a string Mata matrix.
getMataStringAt(String, int, int)
- 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 (str) variable.
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, int)
- Static method in class com.stata.sfi.
Data
Read a numeric value from the current Stata dataset.
getObsCount()
- Static method in class com.stata.sfi.
Data
Get the number of observations in the current Stata dataset.
getParsedIn1()
- Static method in class com.stata.sfi.
Data
Get the first in a range of observations if
javacall
was called with the
in
qualifier.
getParsedIn2()
- Static method in class com.stata.sfi.
Data
Get the last in a range of observations if
javacall
was called with the
in
qualifier.
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, int)
- Static method in class com.stata.sfi.
Data
Read a string value from the current Stata dataset.
getTempFile()
- Static method in class com.stata.sfi.
SFIToolkit
Get a valid Stata temporary file name.
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.
getVarFormat(int)
- Static method in class com.stata.sfi.
Data
Get the format for a Stata variable.
getVarIndex(String)
- Static method in class com.stata.sfi.
Data
Look up the variable index for the specified name in the current Stata dataset.
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.
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 MacOS.
isParsedIfTrue(int)
- 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
.
isVarTypeString(int)
- Static method in class com.stata.sfi.
Data
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
.
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.
setObsCount(int)
- Static method in class com.stata.sfi.
Data
Set the number of observations in the current Stata dataset.
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.
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, int, double)
- Static method in class com.stata.sfi.
Data
Store a numeric value in the current Stata dataset.
storeStr(int, int, String)
- Static method in class com.stata.sfi.
Data
Store a string value in the current Stata dataset.
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
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes