BBjRecoverFileStatus

Creation Path


BBjAPI
> BBjFileSystem > BBjRecoverFileStatus

Description

In BBj 18.0 and higher, the BBjRecoverFileStatus object is used to return various status information from file recovery.

Creation

The BBjRecoverFileStatus object is created using the following BBjFileSystem method:

Return Value

Method

BBjRecoverFileStatus

recoverFile(string filename)

Methods of BBjRecoverFileStatus

Return Value

Method

long

getRecoverStartTimeMillis()

long

getRecoverFinishTimeMillis()

int

getOriginalFileType()

string

getOriginalFilename()

string

getRecoverBackupFilename()

int

getOriginalRecordSize()

long

getOriginalRecordCount()

long

getRecoveredRecordCount()

long

getRecordsFound()

long

getOriginalSize()

long

getRecoveredSize()

Remarks

None.

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
BBjFileSystem!=BBjAPI().getFileSystem()

REM Recover a file
status!=BBjFileSystem!.recoverFile("recoverableFile.dat")

See Also

BBjAPI

BBj Object Variables

BBj Object Assignment

BBj Object Error Handling

BBj Object Operators

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