## SourceText class

Base class implements the SourceText.

```java
public abstract class SourceText : IDisposable
```

## Properties

| Name | Description |
| --- | --- |
| abstract [getEncoding](../../com.aspose.html.toolkit.markdown.syntax.text/sourcetext/encoding/) Get encoding. |
| abstract [getItem](../../com.aspose.html.toolkit.markdown.syntax.text/sourcetext/item/) Gets the value at the given index. |
| abstract [getLength](../../com.aspose.html.toolkit.markdown.syntax.text/sourcetext/length/) Get the length. |
| [getLines](../../com.aspose.html.toolkit.markdown.syntax.text/sourcetext/lines/) Get the Lines collection. |
| [getSpan](../../com.aspose.html.toolkit.markdown.syntax.text/sourcetext/span/) Get the span. |

## Methods

| Name | Description |
| --- | --- |
| static [From](../../com.aspose.html.toolkit.markdown.syntax.text/sourcetext/from/#from)(SourceText[]) | Define the interface for get SourceText from array of the source. |
| static [From](../../com.aspose.html.toolkit.markdown.syntax.text/sourcetext/from/#from_1)(String) | Define the interface for get SourceText from String. |
| static [From](../../com.aspose.html.toolkit.markdown.syntax.text/sourcetext/from/#from_2)(String, Encoding) | Define the interface for get SourceText from String and encoding. |
| abstract [CopyTo](../../com.aspose.html.toolkit.markdown.syntax.text/sourcetext/copyto/)(int, char[], int, int) | Define the interface for get SourceText from array of the source. |
| [dispose](../../com.aspose.html.toolkit.markdown.syntax.text/sourcetext/dispose/)() | Defines the Dispose interface. |
| [getText](../../com.aspose.html.toolkit.markdown.syntax.text/sourcetext/gettext/#gettext)() | Define the interface for get Text. |
| [getText](../../com.aspose.html.toolkit.markdown.syntax.text/sourcetext/gettext/#gettext_2)(int) | Define the interface for get Text. |
| [getText](../../com.aspose.html.toolkit.markdown.syntax.text/sourcetext/gettext/#gettext_1)(TextSpan) | Define the interface for get Text. |
| [toString](../../com.aspose.html.toolkit.markdown.syntax.text/sourcetext/toString/#toString)() | Override the ToString() method. |
| [toString](../../com.aspose.html.toolkit.markdown.syntax.text/sourcetext/toString/#toString_2)(int) | Override the ToString() method. |
| [toString](../../com.aspose.html.toolkit.markdown.syntax.text/sourcetext/toString/#toString_1)(TextSpan) | Defines the interface ToString() |
| [toString](../../com.aspose.html.toolkit.markdown.syntax.text/sourcetext/toString/#toString_3)(int, int) | Defines the interface ToString() |

### See Also

* package [com.aspose.html.toolkit.markdown.syntax.text](../../com.aspose.html.toolkit.markdown.syntax.text/)
* package [Aspose.HTML](../../)
