public Database(string databaseFileName, string localPathPrefix, string remotePathPrefix)
{
this.databaseFileName = databaseFileName;
this.localPathPrefix = localPathPrefix;
this.localPathPrefixSize = localPathPrefix.Length;
if ( ! remotePathPrefix.Equals(Cmis.CmisUtils.CMIS_FILE_SEPARATOR))
{
this.localPathPrefixSize += 1;
}
this.remotePathPrefix = remotePathPrefix;
this.remotePathPrefixSize = remotePathPrefix.Length;
if (! remotePathPrefix.EndsWith(Cmis.CmisUtils.CMIS_FILE_SEPARATOR.ToString() )) {
this.remotePathPrefixSize += 1;
}
}