public class StringObject extends Object implements Serializable, StringAccessor
Modifier and Type | Method and Description |
---|---|
static StringObject |
fromString(String str)
Static method that returns a StringObject from the given java.lang.String.
|
Reader |
getReader()
Returns a Reader that can read from the string.
|
int |
length()
Returns the length of the string.
|
String |
toString()
Returns this object as a java.lang.String object (easy!)
|
public int length()
length
in interface StringAccessor
public Reader getReader()
getReader
in interface StringAccessor
public String toString()
toString
in interface StringAccessor
toString
in class Object
public static StringObject fromString(String str)
Copyright © 2015. All rights reserved.