DocumentUtilities.getText(javax.swing.text.Document)
to obtain CharSequence instance from a document instead.public interface CharSeq
Modifier and Type | Method and Description |
---|---|
char |
charAt(int index)
Deprecated.
Returns the character at the specified index.
|
int |
length()
Deprecated.
Returns the length of this character sequence.
|
int length()
char charAt(int index)
index
- the index of the character to be returnedIndexOutOfBoundsException
- if the index argument is negative or not less than
length()Built on April 20 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.