BBjFileSystem

Description

The BBjFileSystem provides methods for interacting with the filesystem.

Creation

BBjAPI > BBjFileSystem

BBjFileSystem may be obtained through the BBjAPI object method:

Return Value

Method

BBjFileSystem

getFileSystem()

Methods of BBjFileSystem

Return Value

Method

void

convertMKeyedToXKeyed(string filename, int shouldForceRecoverable)

void convertMKeyedToXKeyed(string filename, int shouldForceRecoverable, string modes)
void convertMKeyedToXKeyed(string filename, int shouldForceRecoverable, string modes, string tmpdir)

int

getAddrCount()

int

getCachedCount()

BBjFileInfo

getFileInfo(int channel)

InputStream

getInputStream(string filename)

string

getMimeType(string filename)

OutputStream

getOutputStream(string filename)

BBjStoredProcedureData

getStoredProcedureData()

BBjTriggerData

getTriggerData()

BBjKeyInfo

makeKeyInfo(BBjKeySegment segment!, boolean unique)

BBjKeyInfo

makeKeyInfo(BBjVector segments!, boolean unique)

BBjKeySegment

makeKeySegment(int field, int offset, int length, boolean descending, boolean numeric)

BBjKeySegment

makeOrderedNumericKeySegment(int field, int offset, int length, boolean descending)

BBjRecoverFileStatus

recoverFile(string filename)

BBjRecoverFileStatus recoverFile(string filename, string modes)
BBjRecoverFileStatus recoverFile(string filename, string modes, string tmpdir)

string

resolvePath(string filename)

void

unwatchAllDirectories()

string

unwatchDirectory(string directory)

string

watchDirectory(String directory, string label)

string

watchDirectory(String directory, UserObject obj, string methodName)

Constants

0x00

INDEXED_FILE

0x01

SERIAL_FILE

0x02

DIRECT_FILE

0x03

STRING_FILE

0x04

BBX_PROGRAM_FILE

0x84

BBJ_PROGRAM_FILE

0x05

DIRECTORY_FILE

0x06

MKEYED_FILE

0x80

MKEYED_4GIG

0x40

MKEYED_RECOVERABLE

0x20

MKEYED_64BIT

0x08

XKEYED_FILE

0x0B

JKEYED_FILE (Deprecated)

0x0D

VKEYED_FILE

Example

rem 'Obtain the instance of the BBjFileSystem object

rem 'Obtain the instance of the BBjAPI object
let myAPI! = BBjAPI()

rem 'Obtain the instance of the BBjFileSystem object
let myFileSystem! = myAPI!.getFileSystem()

ClosedVersion History

See Also

BBjAPI

BBj Object Variables

BBj Object Creation and Assignment

BBj Object Error Handling

BBj Object Operators

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.