Solid Framework SDK 10.0.12602
SDK for converting and extracting value from PDFs
|
Static Public Member Functions | |
static String | ConvertToMD5String (String source) |
Converts to Md5 string. More... | |
static string | ConvertUTF7toUCS2 (string original) |
UTF-7 is used to transfer strings (like unicode paths) via the console without needing to care about the code page of the console (since only 0..127 are used) More... | |
static string | ConvertUCS2toUTF7 (string original) |
UTF-7 is used to transfer strings (like unicode paths) via the console without needing to care about the code page of the console (since only 0..127 are used) More... | |
static String | GetWorkerTempFolder (int pid) |
Gets the worker temp folder. More... | |
static bool | IsDirectoryReadWrite (string dirPath, bool throwIfFails=false) |
Checks if a directory is read/write by the current user. More... | |
static String | CreateUniqueTempFileName (String extension) |
Creates the name of the unique temp file. More... | |
static String | CreateUniqueTempFolder () |
Creates the name of the unique temp folder. More... | |
static String | ConvertBytesToString (long bytes) |
Converts the bytes to string. More... | |
static void | FileDelete (String path) |
Files the delete. More... | |
static void | FileCopy (string source, string destination) |
Files the copy. More... | |
static void | FileCopy (string source, string destination, bool overwrite) |
Files the copy. More... | |
static String | ProcessResourceTags (String value, String arg1, String arg2) |
Replace two placeholders in a string, and converts any {n}, {CR} and {amp} tags. More... | |
static String | ProcessResourceTags (String value, String arg1) |
Replace a single placeholder in a string, and converts any {n}, {CR} and {amp} tags. More... | |
static String | ProcessResourceTags (String value) |
Replaces {n}, {CR} and {amp} tags in the string value with NewLine or Ampersand. More... | |
static void | RotateLogFile (String path, long rotateFileSize) |
Utility method for changing the logfile when it becomes larger than the specified size. In that event, the logfile will be renamed from [filename] to [filename_1], with any file with that name being renamed as [filename_2]. If there are already two existing log files, so that a file exists that is already called [filename_2], then that will be deleted. More... | |
static String | ValidationModeToString (ValidationMode mode) |
Returns a string representation of the ValidationMode. More... | |
Represents Utilities
|
static |
Converts the bytes to string.
bytes | The bytes. |
|
static |
Converts to Md5 string.
source | The source. |
|
static |
UTF-7 is used to transfer strings (like unicode paths) via the console without needing to care about the code page of the console (since only 0..127 are used)
original | The original. |
|
static |
UTF-7 is used to transfer strings (like unicode paths) via the console without needing to care about the code page of the console (since only 0..127 are used)
original | The original. |
|
static |
Creates the name of the unique temp file.
extension | The extension. |
|
static |
Creates the name of the unique temp folder.
|
static |
Files the copy.
source | The source. |
destination | The destination. |
|
static |
Files the copy.
source | The source. |
destination | The destination. |
overwrite | if set to true [overwrite]. |
System.InvalidOperationException |
|
static |
Files the delete.
path | The path. |
|
static |
Gets the worker temp folder.
pid | The pid. |
|
static |
Checks if a directory is read/write by the current user.
dirPath | Path to check read/write access. |
throwIfFails | Throw exception if not writable when true. |
|
static |
Replaces {n}, {CR} and {amp} tags in the string value with NewLine or Ampersand.
value | A string that may contain resource tags. |
|
static |
Replace a single placeholder in a string, and converts any {n}, {CR} and {amp} tags.
value | A string that may contain a placeholder in the format "{0}". |
arg1 | A string that should be used to replace the placeholder "{0}". |
|
static |
Replace two placeholders in a string, and converts any {n}, {CR} and {amp} tags.
value | A string that may contain a placeholder in the format "{1}" and {2}. |
arg1 | A string that should be used to replace the placeholder "{1}". |
arg2 | A string that should be used to replace the placeholder "{2}". |
If the string contains a placeholder in the format {0}, then only the second placeholder will be converted. This may not be the expected behaviour. This method appears to not be used.
|
static |
Utility method for changing the logfile when it becomes larger than the specified size. In that event, the logfile will be renamed from [filename] to [filename_1], with any file with that name being renamed as [filename_2]. If there are already two existing log files, so that a file exists that is already called [filename_2], then that will be deleted.
path | Path to the file |
rotateFileSize | The size of the file, in bytes, which if exceeded when this method is called, will cause the file names to be incremented. |
|
static |
Returns a string representation of the ValidationMode.
mode | The ValidationMode that is to be converted. |
NotImplementedException | Occurs if mode is not a supported type. |