package Ġorg . know ledger . ledger . service . handles . builder Ċ Ċ import Ġorg . know ledger . ledger . builders . Builder Ċ import Ġorg . know ledger . ledger . core . adapters . Abstract Storage Adapter Ċ import Ġorg . know ledger . ledger . data . Ledger Data Ċ import Ġorg . know ledger . ledger . database . Database Mode Ċ import Ġorg . know ledger . ledger . database . Database Type Ċ import Ġorg . know ledger . ledger . database . Managed Database Ċ import Ġorg . know ledger . ledger . results . Outcome Ċ import Ġorg . know ledger . ledger . service . handles . Ledger Handle Ċ import Ġjava . io . File Ċ Ċ internal Ġinterface ĠLed ger Builder < T > Ġ: ĠBuilder < Ledger Handle , ĠLed ger Handle . Failure > Ġ{ ĊĠĠĠ Ġfun Ġwith Type Storage Adapters ( ĊĠĠĠĠĠĠĠ Ġtypes : ĠIterable < Abstract Storage Adapter < out ĠLed ger Data >> ĊĠĠĠ Ġ): ĠT ĊĊĠĠĠ Ġfun Ġwith Type Storage Adapters ( ĊĠĠĠĠĠĠĠ Ġvar arg Ġtypes : ĠAbstract Storage Adapter < out ĠLed ger Data > ĊĠĠĠ Ġ): ĠT Ġ= Ġwith Type Storage Adapters ( types . as Iterable ()) ĊĊĠĠĠ Ġfun Ġwith DB Path ( path : ĠFile ): ĠOut come < T , ĠLed ger Handle . Failure > ĊĠĠĠ Ġfun Ġwith DB Path ( path : ĠString ): ĠT ĊĊĠĠĠ Ġfun Ġwith Custom Session ( ĊĠĠĠĠĠĠĠ Ġdb Open Mode : ĠDatabase Mode , Ġdb Session Type : ĠDatabase Type , ĊĠĠĠĠĠĠĠ Ġdb User : ĠString ?, Ġdb Password : ĠString ? ĊĠĠĠ Ġ): ĠT ĊĊĠĠĠ Ġfun Ġwith Custom DB ( db : ĠManaged Database ): ĠT Ċ }