org.crsh.text
Class Text
java.lang.Object
org.crsh.text.Text
- All Implemented Interfaces:
- Serializable, Chunk
public class Text
- extends Object
- implements Chunk
A textual chunk.
- See Also:
- Serialized Form
value
final CharSequence value
- .
Text
private Text(CharSequence s)
create
public static Text create(CharSequence s)
throws NullPointerException
- Create a new text chunk wrapping the provided sequence.
- Parameters:
s - the sequence
- Returns:
- the created text
- Throws:
NullPointerException - if the sequence is null
getText
public CharSequence getText()
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014 eXo Platform SAS. All Rights Reserved.