C# Класс Org.Openengsb.XLinkCSharpClient.SearchLogic.DirectoryBrowser

Specifies the file-browse functionality, in the defined working directory.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
changeFileType ( String newFileType ) : void

Switches the fileType to the supplied one. Reloads the Files of the Working Directory if the switch was successfull.

createXLinkFromFileString ( string fileName ) : void

Creates the XLink to the given File with the given name and copies it to the Clipborad.

displayListOfWorkingDirectoryFiles ( ) : void

Prints the list of currently loaded Directory Files

displaySupportedFileTypes ( ) : void

Displays the set of supported FileTypes

displayWorkingDirectory ( ) : void

Displays the current Working Directory

displaycurrentFileType ( ) : void

Displays the current File Type

getFilesFromWorkingDirectory ( ) : List

Reloads the Files from the WorkingDirectory and Returns them.

openFile ( string fileName ) : void

Opens the File with the given name

reloadListOfWorkingDirectoryFiles ( ) : void

Reloads List of Directory Files

searchForFile ( String fileName ) : WorkingDirectoryFile

Returns the FileEntry with the given Name or null

searchForXLinkMatches ( OOClass potentialMatch ) : void

Searches through the Files for the most potential Match. First searches for matching filesnames. If no files where found or if more than one file was found, search for matching variables.

setWorkingDirectory ( String newWorkingDirectory ) : bool

Sets the new WorkingDirectory to browse with the given Directory

Приватные методы

Метод Описание
matchValueOfClass ( WorkingDirectoryFile wdFileToCheck, OOClass potentialMatch ) : int

Returns an int value which indicates, how many many SQLFiels are alike between the two given statements.

outputLine ( string line ) : void
setFileType ( String newFileType ) : bool

Switches the fileType to the supplied one. Returns false if the supplied fileType is not supported.

Описание методов

changeFileType() публичный Метод

Switches the fileType to the supplied one. Reloads the Files of the Working Directory if the switch was successfull.
public changeFileType ( String newFileType ) : void
newFileType String
Результат void

createXLinkFromFileString() публичный Метод

Creates the XLink to the given File with the given name and copies it to the Clipborad.
public createXLinkFromFileString ( string fileName ) : void
fileName string
Результат void

displayListOfWorkingDirectoryFiles() публичный Метод

Prints the list of currently loaded Directory Files
public displayListOfWorkingDirectoryFiles ( ) : void
Результат void

displaySupportedFileTypes() публичный Метод

Displays the set of supported FileTypes
public displaySupportedFileTypes ( ) : void
Результат void

displayWorkingDirectory() публичный Метод

Displays the current Working Directory
public displayWorkingDirectory ( ) : void
Результат void

displaycurrentFileType() публичный Метод

Displays the current File Type
public displaycurrentFileType ( ) : void
Результат void

getFilesFromWorkingDirectory() публичный Метод

Reloads the Files from the WorkingDirectory and Returns them.
public getFilesFromWorkingDirectory ( ) : List
Результат List

openFile() публичный Метод

Opens the File with the given name
public openFile ( string fileName ) : void
fileName string
Результат void

reloadListOfWorkingDirectoryFiles() публичный Метод

Reloads List of Directory Files
public reloadListOfWorkingDirectoryFiles ( ) : void
Результат void

searchForFile() публичный Метод

Returns the FileEntry with the given Name or null
public searchForFile ( String fileName ) : WorkingDirectoryFile
fileName String
Результат Org.Openengsb.XLinkCSharpClient.Model.WorkingDirectoryFile

searchForXLinkMatches() публичный Метод

Searches through the Files for the most potential Match. First searches for matching filesnames. If no files where found or if more than one file was found, search for matching variables.
public searchForXLinkMatches ( OOClass potentialMatch ) : void
potentialMatch OOClass
Результат void

setWorkingDirectory() публичный Метод

Sets the new WorkingDirectory to browse with the given Directory
public setWorkingDirectory ( String newWorkingDirectory ) : bool
newWorkingDirectory String
Результат bool