C# 클래스 Systran.MultimodalClientLib.Api.FileApi

Represents a collection of functions to interact with the API endpoints
상속: IFileApi
파일 보기 프로젝트 열기: SYSTRAN/multimodal-api-csharp-client 1 사용 예제들

공개 메소드들

메소드 설명
FileApi ( ApiClient apiClient = null ) : System

Initializes a new instance of the FileApi class.

FileApi ( String basePath ) : System

Initializes a new instance of the FileApi class.

GetBasePath ( String basePath ) : String

Gets the base path of the API client.

MultimodalFileExtractTextGet ( string InputFile, string Lang, string Format, int Profile, string Callback ) : FileExtractTextResponse

Extract text from a file Extract text from a file.\n

MultimodalFileExtractTextGetAsync ( string InputFile, string Lang, string Format, int Profile, string Callback ) : Task

Extract text from a file Extract text from a file.\n

MultimodalFileSupportedFormatsGet ( int Profile, string Callback ) : FileSupportedFormatsResponse

Supported file formats Get a list of supported file formats.\n

MultimodalFileSupportedFormatsGetAsync ( int Profile, string Callback ) : Task

Supported file formats Get a list of supported file formats.\n

SetBasePath ( String basePath ) : void

Sets the base path of the API client.

메소드 상세

FileApi() 공개 메소드

Initializes a new instance of the FileApi class.
public FileApi ( ApiClient apiClient = null ) : System
apiClient Systran.MultimodalClientLib.Client.ApiClient
리턴 System

FileApi() 공개 메소드

Initializes a new instance of the FileApi class.
public FileApi ( String basePath ) : System
basePath String
리턴 System

GetBasePath() 공개 메소드

Gets the base path of the API client.
public GetBasePath ( String basePath ) : String
basePath String
리턴 String

MultimodalFileExtractTextGet() 공개 메소드

Extract text from a file Extract text from a file.\n
public MultimodalFileExtractTextGet ( string InputFile, string Lang, string Format, int Profile, string Callback ) : FileExtractTextResponse
InputFile string Input File
Lang string Language code of the input ([details](#description_langage_code_values)) or `auto` for automatic detection
Format string Format of the input file.\n\nValid values are the mimetypes returned by the supportedFormats service.\n
Profile int Profile id\n
Callback string Javascript callback function name for JSONP Support\n
리턴 Systran.MultimodalClientLib.Model.FileExtractTextResponse

MultimodalFileExtractTextGetAsync() 공개 메소드

Extract text from a file Extract text from a file.\n
public MultimodalFileExtractTextGetAsync ( string InputFile, string Lang, string Format, int Profile, string Callback ) : Task
InputFile string Input File
Lang string Language code of the input ([details](#description_langage_code_values)) or `auto` for automatic detection
Format string Format of the input file.\n\nValid values are the mimetypes returned by the supportedFormats service.\n
Profile int Profile id\n
Callback string Javascript callback function name for JSONP Support\n
리턴 Task

MultimodalFileSupportedFormatsGet() 공개 메소드

Supported file formats Get a list of supported file formats.\n
public MultimodalFileSupportedFormatsGet ( int Profile, string Callback ) : FileSupportedFormatsResponse
Profile int Profile id\n
Callback string Javascript callback function name for JSONP Support\n
리턴 Systran.MultimodalClientLib.Model.FileSupportedFormatsResponse

MultimodalFileSupportedFormatsGetAsync() 공개 메소드

Supported file formats Get a list of supported file formats.\n
public MultimodalFileSupportedFormatsGetAsync ( int Profile, string Callback ) : Task
Profile int Profile id\n
Callback string Javascript callback function name for JSONP Support\n
리턴 Task

SetBasePath() 공개 메소드

Sets the base path of the API client.
public SetBasePath ( String basePath ) : void
basePath String
리턴 void