Okapi .NET Library

Routines Members

 [This is preliminary documentation and subject to change.]

Routines overview

Public Static (Shared) Fields

CLIP_RNB_INPUTLISTFILES Clipboard format identifier for Rainbow input file lists
RTFMARKER_END RTF end sequence for source/target block.
RTFMARKER_MIDDLE RTF middle sequence for source/target block.
RTFMARKER_START RTF start sequence for source/target block.

Public Static (Shared) Methods

AreSameLanguages Compares two language codes.
BuildFilterSettings Construct a filter settings string.
ConvertShortPath Converts a short path DOS8.3 name into a long path.
ConvertToValue Converts the text representation of a given value an integer. The text can be "DDD", "\DDD", "#HHH", "\xHHH", or #xHHH". Octal format ("\OOO") is not supported.
DetectEncoding Detects the encoding of a file when possible.
ErrorBoxOverloaded. Displays an error message with details.
EscapeToRTF Escape a string for RTF output.
EscapeToXML Escapes a string for XML/HTML output.
GetANSIEncoding Gets the Windows encoding for the given language
GetCommonRoot Gets the longest common path between an existing folder and a new path.
GetDefaultSourceEncoding Gets the default encoding for the generic default source language.
GetDefaultSourceLanguage Gets the generic default source language.
GetDefaultTargetEncoding Gets the default encoding for the generic default target language.
GetDefaultTargetLanguage Gets the generic default target language.
GetOkapiFolder Gets the Okapi root folder.
GetOkapiParametersFolderOverloaded. Gets the Okapi default Filter Parameters folder.
GetOkapiSharedFolder Gets the Okapi Shared folder.
GetPercentage Calculates a percentage value.
IsHexadecimal Determines whether a string is in hexadecimal notation.
MakeParametersFullPath Build a full path for a filter parameters file from the filter settings string.
ReplaceRoot Replaces the given root of a path by another root.
SetOkapiFolder Force the Okapi root folder to a specific path
SplitFilterSettings Splits a filter settings string into its components.
Start Starts a program or open a file.
UnEscapeFromXML Unescape special characters from an escaped XML string. This method handles only these characteers when they are in pre-defined character entity references and decimal NCRs forms.

Public Instance Constructors

Routines ConstructorInitializes a new instance of the Routines class.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
MakeHashCode Implements IRoutines.MakeHashCode.
MakeID Implements IRoutines.MakeID.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

Routines Class | Okapi.Library.Base Namespace