public class JLineStringBuilder extends java.lang.Object implements JLineBuffer
Constructor and Description |
---|
JLineStringBuilder() |
Modifier and Type | Method and Description |
---|---|
java.lang.Appendable |
append(char c) |
java.lang.Appendable |
append(java.lang.CharSequence s) |
java.lang.Appendable |
append(java.lang.CharSequence s,
int start,
int end) |
char |
charAt(int index) |
void |
delete(int start,
int end) |
void |
deleteCharAt(int index) |
void |
insert(int offset,
char c) |
void |
insert(int offset,
java.lang.CharSequence s) |
int |
length() |
void |
replace(int start,
int end,
java.lang.String str) |
void |
setLength(int newLength) |
java.lang.CharSequence |
subSequence(int start,
int end) |
java.lang.String |
substring(int start) |
java.lang.String |
substring(int start,
int end) |
java.lang.String |
toString() |
public java.lang.Appendable append(java.lang.CharSequence s)
append
in interface JLineBuffer
append
in interface java.lang.Appendable
public java.lang.Appendable append(char c) throws java.io.IOException
append
in interface java.lang.Appendable
java.io.IOException
public java.lang.Appendable append(java.lang.CharSequence s, int start, int end) throws java.io.IOException
append
in interface java.lang.Appendable
java.io.IOException
public char charAt(int index)
charAt
in interface java.lang.CharSequence
public int length()
length
in interface java.lang.CharSequence
public java.lang.CharSequence subSequence(int start, int end)
subSequence
in interface java.lang.CharSequence
public void delete(int start, int end)
delete
in interface JLineBuffer
public void deleteCharAt(int index)
deleteCharAt
in interface JLineBuffer
public void insert(int offset, char c)
insert
in interface JLineBuffer
public void insert(int offset, java.lang.CharSequence s)
insert
in interface JLineBuffer
public void setLength(int newLength)
setLength
in interface JLineBuffer
public java.lang.String substring(int start)
substring
in interface JLineBuffer
public java.lang.String substring(int start, int end)
substring
in interface JLineBuffer
public void replace(int start, int end, java.lang.String str)
replace
in interface JLineBuffer
public java.lang.String toString()
toString
in interface java.lang.CharSequence
toString
in class java.lang.Object
Copyright (c) 2014 Cloud Software Group, Inc. All rights reserved.