C# 클래스 SIL.FieldWorks.XWorks.Archiving.ReapRamp

Packages selected files to be archived in the REAP repository and launches the RAMP program to do the actual transfer.
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 메소드들

메소드 설명
ArchiveNow ( Form owner, Font dialogFont, Icon localizationDialogIcon, IEnumerable filesToArchive, XCore.Mediator mediator, FwApp thisapp, SIL.FieldWorks.FDO.FdoCache cache ) : bool

Prepares the selected files to be uploaded to REAP using RAMP.

비공개 메소드들

메소드 설명
AddMetsPairs ( SIL.Archiving.RampArchivingDlgViewModel model, string fieldWorksVersion, SIL.FieldWorks.FDO.FdoCache cache ) : void

Gets required and optional information that describes the files being submitted in the RAMP package. METS = Metadata Encoding & Transmission Standard (see http://www.loc.gov/METS/).

CompareDateCreated ( System.DateTime created ) : void
DoesWritingSystemUseKeyman ( IWritingSystem ws ) : bool

Returns true if the writing system has an active keyman keyboard

Internal for testing, uses reflection to identify a keyboard as keyman

GetCreateDateRange ( SIL.FieldWorks.FDO.FdoCache cache ) : void
GetFileDescription ( string key, string file ) : string

Called by the Archiving Dialog to get the file descriptions included in the RAMP package.

GetFilesToArchive ( IEnumerable filesToArchive ) : IDictionary,string>>

Called by the Archiving Dialog to retrieve the lists of the files and description to be included in the RAMP package.

ReapRamp ( ) : System.Drawing
SetFilesToArchive ( IEnumerable filesToArchive ) : Action

Called by the Archiving Dialog to retrieve the lists of the files and description to be included in the RAMP package.

메소드 상세

ArchiveNow() 공개 메소드

Prepares the selected files to be uploaded to REAP using RAMP.
public ArchiveNow ( Form owner, Font dialogFont, Icon localizationDialogIcon, IEnumerable filesToArchive, XCore.Mediator mediator, FwApp thisapp, SIL.FieldWorks.FDO.FdoCache cache ) : bool
owner System.Windows.Forms.Form RAMP dialog owner
dialogFont System.Drawing.Font RAMP dialog font (for localization and consistency)
localizationDialogIcon System.Drawing.Icon
filesToArchive IEnumerable
mediator XCore.Mediator
thisapp SIL.FieldWorks.Common.Framework.FwApp
cache SIL.FieldWorks.FDO.FdoCache
리턴 bool