# Interface: com.pnfsoftware.jeb.core.dao.IFileDatabaseWriter

A database record writer.

## Method: beginRecord
- parameter: `type`, type: `int`
- parameter: `flags`, type: `int`
- return type: `java.io.OutputStream`

Description: Initialize a new record.
parameter: type: the record type, should be in \[0, 0xFFFFFF\], refer to            `JDB2Manager.TYPE_xxx` for a list of well\-known types; custom types are            allowed and must start be in the 0x99xxxx range
parameter: flags: record flags, should be in \[0, 0xFF\], see `JDB2Manager.FLAG_xxx` for a            list of accepted flags
return: the output stream for the newly\-created record
throws: 

## Method: endRecord
- parameter: `out`, type: `java.io.OutputStream`

Description: Close an opened record.
parameter: out: 
throws: 

## Method: getBackingFile
- return type: `java.io.File`

Description: Retrieve the backing file, if any.
return: 
throws: 

## Method: hasBackingFile
- return type: `boolean`

Description: Determine if this database is backed by a file.
return: 

## Method: verify

Description: Verify that all opened records were closed. To be called before [#close()](#close()) if no I/O error happened.
throws: on error

