C# Class KeePass.DataExchange.ImportUtil

Show file Open project: cappert/keepass2 Class Usage Examples

Public Methods

Method Description
AppendToField ( PwEntry pe, string strName, string strValue, KeePassLib.PwDatabase pdContext ) : void
AppendToField ( PwEntry pe, string strName, string strValue, KeePassLib.PwDatabase pdContext, string strSeparator, bool bOnlyIfNotDup ) : void
CountQuotes ( string str, int posMax ) : int
EntryEquals ( PwEntry pe1, PwEntry pe2 ) : bool
Import ( KeePassLib.PwDatabase pd, KeePass.DataExchange.FileFormatProvider fmtImp, IOConnectionInfo iocImp, PwMergeMethod mm, CompositeKey cmpKey ) : bool?
Import ( KeePassLib.PwDatabase pwDatabase, KeePass.DataExchange.FileFormatProvider fmtImp, IOConnectionInfo vConnections, bool bSynchronize, IUIOperations uiOps, bool bForceSave, Form fParent ) : bool?
Import ( KeePassLib.PwDatabase pwStorage, bool &bAppendedToRootOnly, Form fParent ) : bool?
MapNameToStandardField ( string strName, bool bAllowFuzzy ) : string
SetStatus ( IStatusLogger slLogger, uint uPercent ) : bool
SplitCsvLine ( string strLine, string strDelimiter ) : List
Synchronize ( KeePassLib.PwDatabase pwStorage, IUIOperations uiOps, IOConnectionInfo iocSyncWith, bool bForceSave, Form fParent ) : bool?
Synchronize ( KeePassLib.PwDatabase pwStorage, IUIOperations uiOps, bool bOpenFromUrl, Form fParent ) : bool?

Private Methods

Method Description
FixUrl ( string strUrl ) : string
GuiRetrieveDataField ( ) : string
GuiSendKeysPrc ( string strSend ) : void
GuiSendRetrieve ( string strSendPrefix ) : string
GuiSendWaitWindowChange ( string strSend ) : void
MapNameSubstringToStandardField ( string strName ) : string

Method Details

AppendToField() public static method

public static AppendToField ( PwEntry pe, string strName, string strValue, KeePassLib.PwDatabase pdContext ) : void
pe PwEntry
strName string
strValue string
pdContext KeePassLib.PwDatabase
return void

AppendToField() public static method

public static AppendToField ( PwEntry pe, string strName, string strValue, KeePassLib.PwDatabase pdContext, string strSeparator, bool bOnlyIfNotDup ) : void
pe PwEntry
strName string
strValue string
pdContext KeePassLib.PwDatabase
strSeparator string
bOnlyIfNotDup bool
return void

CountQuotes() public static method

public static CountQuotes ( string str, int posMax ) : int
str string
posMax int
return int

EntryEquals() public static method

public static EntryEquals ( PwEntry pe1, PwEntry pe2 ) : bool
pe1 PwEntry
pe2 PwEntry
return bool

Import() public static method

public static Import ( KeePassLib.PwDatabase pd, KeePass.DataExchange.FileFormatProvider fmtImp, IOConnectionInfo iocImp, PwMergeMethod mm, CompositeKey cmpKey ) : bool?
pd KeePassLib.PwDatabase
fmtImp KeePass.DataExchange.FileFormatProvider
iocImp IOConnectionInfo
mm PwMergeMethod
cmpKey KeePassLib.Keys.CompositeKey
return bool?

Import() public static method

public static Import ( KeePassLib.PwDatabase pwDatabase, KeePass.DataExchange.FileFormatProvider fmtImp, IOConnectionInfo vConnections, bool bSynchronize, IUIOperations uiOps, bool bForceSave, Form fParent ) : bool?
pwDatabase KeePassLib.PwDatabase
fmtImp KeePass.DataExchange.FileFormatProvider
vConnections IOConnectionInfo
bSynchronize bool
uiOps IUIOperations
bForceSave bool
fParent System.Windows.Forms.Form
return bool?

Import() public static method

public static Import ( KeePassLib.PwDatabase pwStorage, bool &bAppendedToRootOnly, Form fParent ) : bool?
pwStorage KeePassLib.PwDatabase
bAppendedToRootOnly bool
fParent System.Windows.Forms.Form
return bool?

MapNameToStandardField() public static method

public static MapNameToStandardField ( string strName, bool bAllowFuzzy ) : string
strName string
bAllowFuzzy bool
return string

SetStatus() public static method

public static SetStatus ( IStatusLogger slLogger, uint uPercent ) : bool
slLogger IStatusLogger
uPercent uint
return bool

SplitCsvLine() public static method

public static SplitCsvLine ( string strLine, string strDelimiter ) : List
strLine string
strDelimiter string
return List

Synchronize() public static method

public static Synchronize ( KeePassLib.PwDatabase pwStorage, IUIOperations uiOps, IOConnectionInfo iocSyncWith, bool bForceSave, Form fParent ) : bool?
pwStorage KeePassLib.PwDatabase
uiOps IUIOperations
iocSyncWith IOConnectionInfo
bForceSave bool
fParent System.Windows.Forms.Form
return bool?

Synchronize() public static method

public static Synchronize ( KeePassLib.PwDatabase pwStorage, IUIOperations uiOps, bool bOpenFromUrl, Form fParent ) : bool?
pwStorage KeePassLib.PwDatabase
uiOps IUIOperations
bOpenFromUrl bool
fParent System.Windows.Forms.Form
return bool?