protected void createFile ( ) throws FileLockException , IOException { openChannel ( ) ; filledUpTo = 0 ; accessFile . setLength ( DEFAULT_SIZE ) ; size = DEFAULT_SIZE ; filledUpTo = HEADER_SIZE ; writeHeader ( ) ; }
this method will be called to init the database - file