Descripción
Sintaxis
public AttributedString(String text)
public AttributedString(String text, Map<? extends AttributedCharacterIterator.Attribute,?> attributes)
public AttributedString(AttributedCharacterIterator text)
public AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex)
public AttributedString(AttributedCharacterIterator text, int beginIndex, int endIndex, AttributedCharacterIterator.Attribute[] attributes)
Parámetros
- Map<? extends AttributedCharacterIterator.Attribute,
- AttributedCharacterIterator text,
- ?> attributes,
- String text,
- int beginIndex,
- AttributedCharacterIterator.Attribute[] attributes,
- int endIndex,
Excepciones
IllegalArgumentException, NullPointerException
Clase Padre
Ejemplo
Líneas de Código
Vídeos Java
Disfruta también de nuestros artículos sobre Java en formato vídeo. Aprovecha y suscribete a nuestro canal.