xlang v5.1 Release
程序设计语言基础库文档
|
Public 成员函数 |
静态 Public 成员函数 |
成员变量 |
StringBuffer类提供了一系列字符串操作的方法 包括字符串的创建、修改、查询、格式化等功能
在文件 StringBuffer.x 第 5 行定义.
StringBuffer | ( | ) |
构造函数,创建一个空的StringBuffer对象
StringBuffer | ( | byte | [] | ) |
通过字节数组构造StringBuffer对象
bytes | 初始字节数组 |
StringBuffer | ( | int | ) |
指定初始容量的构造函数
capacity | 初始容量 |
StringBuffer | ( | byte | [], |
int | , | ||
int | |||
) | throws IndexOutOfBoundsException, IllegalArgumentException |
StringBuffer | ( | char | [], |
bool | |||
) |
StringBuffer | ( | char | [], |
int | , | ||
int | , | ||
bool | |||
) | throws IndexOutOfBoundsException, IllegalArgumentException |
StringBuffer | ( | byte | [], |
String | |||
) |
StringBuffer | ( | byte | [], |
int | , | ||
int | , | ||
String | |||
) | throws IndexOutOfBoundsException, IllegalArgumentException |
StringBuffer | ( | String | ) |
StringBuffer append | ( | byte | [], |
int | , | ||
int | |||
) | throws IndexOutOfBoundsException, IllegalArgumentException |
StringBuffer append | ( | char | [], |
int | , | ||
int | , | ||
bool | |||
) | throws IndexOutOfBoundsException, IllegalArgumentException |
StringBuffer append | ( | Object | ) |
StringBuffer appendFill | ( | char | , |
int | |||
) | throws IllegalArgumentException |
StringBuffer appendPath | ( | String | ) |
int capacity | ( | ) |
char | ( | int | ) | throws IllegalArgumentException |
char charAt | ( | int | ) |
String charset | ( | ) |
void clear | ( | ) |
int compare | ( | String | ) |
int countChar | ( | char | ) |
int countString | ( | String | ) |
int countStringIgnoreCase | ( | String | ) |
StringBuffer decodeURI | ( | ) |
StringBuffer encodeURI | ( | bool | ) |
bool endsWith | ( | String | ) |
bool equals | ( | String | ) |
bool equalsIgnoreCase | ( | String | ) |
StringBuffer escape | ( | ) |
void finalize | ( | ) |
int find | ( | String | ) |
int find | ( | String | , |
int | , | ||
int | |||
) | throws IllegalArgumentException |
String findExtension | ( | ) |
String findFilename | ( | ) |
String findFilenameAndExtension | ( | ) |
String findPathFilename | ( | ) |
String findVolume | ( | ) |
String findVolumePath | ( | ) |
|
static |
byte [] getBytes | ( | ) |
byte [] getBytes | ( | String | ) | throws IllegalArgumentException |
int indexOf | ( | char | ) |
int indexOf | ( | char | , |
int | |||
) | throws IllegalArgumentException |
int indexOf | ( | String | ) |
int indexOf | ( | String | , |
int | |||
) | throws IllegalArgumentException |
int indexOfIgnoreCase | ( | char | ) |
int indexOfIgnoreCase | ( | char | , |
int | |||
) | throws IllegalArgumentException |
int indexOfIgnoreCase | ( | String | ) |
int indexOfIgnoreCase | ( | String | , |
int | |||
) | throws IllegalArgumentException |
StringBuffer insert | ( | int | , |
char | |||
) | throws IllegalArgumentException |
StringBuffer insert | ( | int | , |
String | |||
) | throws IllegalArgumentException |
bool isBlank | ( | ) |
bool isDigit | ( | ) |
bool isDot | ( | ) |
int lastIndexOf | ( | char | ) |
int lastIndexOf | ( | char | , |
int | |||
) | throws IllegalArgumentException |
int lastIndexOf | ( | String | ) |
int lastIndexOf | ( | String | , |
int | |||
) | throws IllegalArgumentException |
int lastIndexOfIgnoreCase | ( | char | ) |
int lastIndexOfIgnoreCase | ( | char | , |
int | |||
) | throws IllegalArgumentException |
int lastIndexOfIgnoreCase | ( | String | ) |
int lastIndexOfIgnoreCase | ( | String | , |
int | |||
) | throws IllegalArgumentException |
int length | ( | ) |
StringBuffer lower | ( | ) |
StringBuffer ltrim | ( | bool | ) |
bool parseBool | ( | ) |
double parseDouble | ( | ) |
float parseFloat | ( | ) |
long parseHex | ( | ) |
int parseInt | ( | ) |
long parseLong | ( | ) |
StringBuffer removeExtension | ( | ) |
StringBuffer replace | ( | int | , |
int | , | ||
String | |||
) | throws IllegalArgumentException |
StringBuffer replace | ( | String | , |
String | |||
) |
StringBuffer replaceExtension | ( | String | ) |
StringBuffer replaceFilename | ( | String | ) |
StringBuffer replaceFilenameAndExtension | ( | String | ) |
StringBuffer resizeCapacity | ( | int | ) |
StringBuffer rtrim | ( | bool | ) |
bool startsWith | ( | String | ) |
String substring | ( | int | ) | throws IllegalArgumentException |
String substring | ( | int | , |
int | |||
) | throws IllegalArgumentException |
StringBuffer toAbsolutePath | ( | String | ) |
char [] toCharArray | ( | bool | ) |
StringBuffer toRelativePath | ( | String | , |
bool | , | ||
bool | |||
) |
String toString | ( | ) |
StringBuffer trim | ( | bool | ) |
StringBuffer upper | ( | ) |
在文件 StringBuffer.x 第 38 行定义.