Class PBETextContainer
Object
|
+--PBEUnit
|
+--PBEObject
|
+--PBEContainer
|
+--PBETextContainer
- public class PBETextContainer
- extends PBEContainer
Description:
PBETextContainer provides functionality to access tab delimited text
files in PrimeBase Enterprise Objects applications.
The text files must be tab delimited and must have the name of the
fields in the first line.
If the first line includes the types of the columns in the form
"[name] [type]", for example "ID INTEGER", then the text fields need not
be otherwise declared.
PBE Attributes/Fields:
file
PBE Methods:
init
|
Constructor Summary |
PBETextContainer(varchar name)
|
PBETextContainer(varchar name,
varchar file)
Initialize the text container with the name of a tab delimited text
file. |
| Methods inherited from class PBEContainer |
addGroup,
currentColor,
currentColor,
currentRowStatus,
currentRowValid,
deleteRow,
enterGroup,
enterPage,
exitGroup,
exitPage,
firstRow,
getCurrentRow,
getCurrentRowValue,
getCurrentValue,
getInvalidValue,
getRowCount,
getSelectedRow,
getSelection,
getValidRow,
insertRow,
lastRow,
nextCurrentRow,
nextCurrentRow,
nextRow,
outputValue,
previousRow,
setCurrentRow,
setCurrentRowValue,
setCurrentValue,
setSelectedRow,
setSelection,
sum,
updateRow |
| Methods inherited from class PBEObject |
attributeName,
clear,
clearInput,
disable,
disableAttributes,
display,
enable,
enableAttributes,
getAttributeStatus,
getAttributeStatus,
getError,
globalReference,
hide,
init,
inputMethod,
inputMethod,
inputValue,
outputValue,
outputValue,
prepareAction,
redirect,
setActive,
setAttributeStatus,
setError,
show |
PBETextContainer
public PBETextContainer(varchar name)
- Parameters:
name - the name used to access this object.
PBETextContainer
public PBETextContainer(varchar name,
varchar file)
- Initialize the text container with the name of a tab delimited text
file.
- Parameters:
name - the name used to access this object.file - name of a tab delimited file.
finalize
public void finalize()
- Overrides:
- finalize in class Object
performActivation
public boolean performActivation(varchar name)
- Overrides:
- performActivation in class PBEObject
addField
public void addField(varchar name)
readTitleLine
public void readTitleLine()
setFile
public void setFile(varchar file)
getFile
public varchar getFile()
openFile
public varchar openFile()
closeFile
public void closeFile()
getItem
public varchar getItem()
skipTitleLine
public boolean skipTitleLine()
getValue
public PBETextValue getValue()
readNextLine
public boolean readNextLine()
setDataLine
public void setDataLine()
loadFile
public varchar loadFile()
getTitleLine
public varchar getTitleLine()
getDataLine
public varchar getDataLine()
saveFile
public varchar saveFile()