public sealed class UtilTextFilesPublic NotInheritable Class UtilTextFiles
Dim instance As UtilTextFilespublic ref class UtilTextFiles sealed[<SealedAttribute>]
type UtilTextFiles = class endNo code example is currently available or this language may not be supported.| Contains | Determines whether the source textfile contains the specified string. |
| CountAllLines | Gets the total amount of lines of the source textfile. |
| CountBlanktLines | Gets the total amount of blank lines of the source textfile. |
| CountNonBlanktLines | Gets the total amount of non-blank lines of the source textfile. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetEncoding(FileInfo) | Determines the Encoding of the source textfile. |
| GetEncoding(String) | Determines the Encoding of the source textfile. |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetLine | Gets the specified line number from the source textfile. |
| GetLines | Gets the specified line numbers from the source textfile. |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| InsertLine(String, Int32, String, TextDirection, Encoding) | Inserts the specified text-line in the given line number of the source textfile. |
| InsertLine(String, String, Int32, String, TextDirection, Encoding) | Inserts the specified text-line in the given line number of the source textfile, then writes the result in the target textfile. |
| InsertLines(String, Int32, IEnumerableString, TextDirection, Encoding) | Inserts the specified text-lines in the given line number of the source textfile. |
| InsertLines(String, String, Int32, IEnumerableString, TextDirection, Encoding) | Inserts the specified text-lines in the given line number of the source textfile, then writes the result in the target textfile. |
| Randomize(String, Encoding) | Randomizes the lines of the source textfile. |
| Randomize(String, String, Encoding) | Randomizes the lines of the source textfile, then writes the result in the target textfile. |
| RemoveLine(String, Int32, TextDirection, Encoding) | Removes the specified line number in the source textfile. |
| RemoveLine(String, String, Int32, TextDirection, Encoding) | Removes the specified line number in the source textfile, then writes the result in the target textfile. |
| RemoveLines(String, IEnumerableInt32, TextDirection, Encoding) | Removes the specified line numbers in the source textfile. |
| RemoveLines(String, String, IEnumerableInt32, TextDirection, Encoding) | Removes the specified line numbers in the source textfile, then writes the result in the target textfile. |
| ReplaceLine(String, Int32, IEnumerableString, TextDirection, Encoding) | Replaces the specified line number in the source textfile with the given text-lines. |
| ReplaceLine(String, Int32, String, TextDirection, Encoding) | Replaces the specified line number in the source textfile with the given text-line. |
| ReplaceLine(String, String, Int32, IEnumerableString, TextDirection, Encoding) | Replaces the specified line number in the source textfile with the given text-lines, then writes the result in the target textfile. |
| ReplaceLine(String, String, Int32, String, TextDirection, Encoding) | Replaces the specified line number in the source textfile with the given text-line, then writes the result in the target textfile. |
| ReplaceLines(String, IEnumerableInt32, IEnumerableString, TextDirection, Encoding) | Replaces the specified line numbers in the source textfile with the given text-lines. |
| ReplaceLines(String, IEnumerableInt32, String, TextDirection, Encoding) | Replaces the specified line numbers in the source textfile with the given text-line. |
| ReplaceLines(String, String, IEnumerableInt32, IEnumerableString, TextDirection, Encoding) | Replaces the specified line numbesr in the source textfile with the given text-line, then writes the result in the target textfile. |
| ReplaceLines(String, String, IEnumerableInt32, String, TextDirection, Encoding) | Replaces the specified line numbesr in the source textfile with the given text-line, then writes the result in the target textfile. |
| Reverse(String, Encoding) | Reverses the lines of the source textfile. |
| Reverse(String, String, Encoding) | Reverses the lines of the source textfile, then writes the result in the target textfile. |
| SkipLines(String, Int32, TextDirection, Encoding) | Skips the specified amount of lines in the source textfile. |
| SkipLines(String, String, Int32, TextDirection, Encoding) | Skips the specified amount of lines in the source textfile, then writes the result in the target textfile. |
| Sort(String, ListSortDirection, Encoding) | Sorts the lines of the source textfile. |
| Sort(String, String, ListSortDirection, Encoding) | Sorts the lines of the source textfile, then writes the result in the target textfile. |
| SortByT(String, ListSortDirection, FuncString, T, Encoding) | Sorts the lines of the source textfile by evaluating the result of the given condition. |
| SortByT(String, String, ListSortDirection, FuncString, T, Encoding) | Sorts the lines of the source textfile by evaluating the result of the given condition. then writes the result in the target textfile. |
| Split(String, Char, StringSplitOptions, Encoding) | Splits the source textfile by the specified character. |
| Split(String, Char, StringSplitOptions, Encoding) | Splits the source textfile by the specified characters. |
| Split(String, IEnumerableString, StringSplitOptions, Encoding) | Splits the source textfile by the specified strings. |
| Split(String, String, StringSplitOptions, Encoding) | Splits the source textfile by the specified string. |
| SplitByLines | Splits the source textfile by the specified amount of lines. |
| TakeLines(String, Int32, TextDirection, Encoding) | Takes the specified amount of lines from the source textfile. |
| TakeLines(String, String, Int32, TextDirection, Encoding) | Takes the specified amount of lines from the source textfile, then writes the result in the target textfile. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Trim(String, Char, Encoding) | Trims the specified chars in the lines of the source textfile. |
| Trim(String, String, Char, Encoding) | Trims the specified chars in the lines of the source textfile, then writes the result in the target textfile. |
| TrimEnd(String, Char, Encoding) | Trims the specified chars from the end of the lines of the source textfile. |
| TrimEnd(String, String, Char, Encoding) | Trims the specified chars from the end of the lines of the source textfile, then writes the result in the target textfile. |
| TrimStart(String, Char, Encoding) | Trims the specified chars from the start of the lines of the source textfile. |
| TrimStart(String, String, Char, Encoding) | Trims the specified chars from the start of the lines of the source textfile, then writes the result in the target textfile. |
| CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
| CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
| ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
| ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
| IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
| Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
| Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
| ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |