| Package | Description |
|---|---|
| java.io | |
| java.lang | |
| java.lang.annotation | |
| java.lang.invoke | |
| java.lang.reflect | |
| java.net | |
| java.nio.charset | |
| java.text | |
| java.time | |
| java.time.format | |
| java.util | |
| java.util.stream |
| Modifier and Type | Method and Description |
|---|---|
String |
DataInputStream.readUTF() |
String |
DataInput.readUTF() |
static String |
DataInputStream.readUTF(DataInput in) |
String |
StringWriter.toString() |
String |
ByteArrayOutputStream.toString() |
| Modifier and Type | Method and Description |
|---|---|
void |
PrintStream.print(String s) |
void |
PrintStream.println(String x) |
void |
Writer.write(String str) |
void |
StringWriter.write(String str) |
void |
Writer.write(String str,
int off,
int len) |
void |
StringWriter.write(String str,
int off,
int len) |
void |
OutputStreamWriter.write(String str,
int off,
int len) |
void |
DataOutputStream.writeChars(String s) |
void |
DataOutput.writeChars(String s) |
void |
DataOutputStream.writeUTF(String str) |
void |
DataOutput.writeUTF(String s) |
| Constructor and Description |
|---|
EOFException(String s) |
FileNotFoundException(String s) |
InputStreamReader(InputStream is,
String enc) |
InterruptedIOException(String s) |
IOException(String s) |
IOException(String s,
Throwable cause) |
OutputStreamWriter(OutputStream os,
String enc) |
StringReader(String str) |
UnsupportedEncodingException(String s) |
UTFDataFormatException(String s) |
| Modifier and Type | Field and Description |
|---|---|
static Comparator<String> |
String.CASE_INSENSITIVE_ORDER |
| Modifier and Type | Method and Description |
|---|---|
String |
String.concat(String str) |
static String |
String.copyValueOf(char[] data) |
static String |
String.copyValueOf(char[] data,
int offset,
int count) |
static String |
String.format(String format,
Object... args) |
String |
Class.getCanonicalName() |
String |
StackTraceElement.getClassName() |
String |
StackTraceElement.getFileName() |
String |
Throwable.getLocalizedMessage() |
String |
Throwable.getMessage() |
String |
StackTraceElement.getMethodName() |
String |
Thread.getName() |
String |
Class.getName() |
static String |
System.getProperty(String key) |
String |
Class.getSimpleName() |
String |
String.intern() |
String |
Enum.name() |
String |
String.replace(char oldChar,
char newChar) |
String |
String.replace(CharSequence target,
CharSequence replacement) |
String |
String.substring(int beginIndex) |
String |
String.substring(int beginIndex,
int endIndex) |
static String |
Integer.toBinaryString(int i) |
static String |
Integer.toHexString(int i) |
String |
String.toLowerCase() |
static String |
Integer.toOctalString(int i) |
abstract String |
Record.toString() |
String |
Throwable.toString() |
String |
Thread.toString() |
String |
StringBuilder.toString() |
String |
StringBuffer.toString() |
String |
String.toString() |
String |
Short.toString() |
String |
Object.toString() |
String |
Long.toString() |
String |
Integer.toString() |
String |
Float.toString() |
String |
Enum.toString() |
String |
Double.toString() |
String |
Class.toString() |
String |
Character.toString() |
String |
CharSequence.toString() |
String |
Byte.toString() |
String |
Boolean.toString() |
static String |
Double.toString(double d) |
static String |
Float.toString(float f) |
static String |
Integer.toString(int i) |
static String |
Integer.toString(int i,
int radix) |
static String |
Long.toString(long i) |
static String |
Long.toString(long i,
int radix) |
String |
String.toUpperCase() |
String |
String.toUpperCase(Locale locale) |
String |
String.trim() |
static String |
String.valueOf(boolean b) |
static String |
String.valueOf(char c) |
static String |
String.valueOf(char[] data,
int offset,
int count) |
static String |
String.valueOf(double d) |
static String |
String.valueOf(float f) |
static String |
String.valueOf(int i) |
static String |
String.valueOf(long l) |
static String |
String.valueOf(Object obj) |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
StringBuilder.append(String str) |
StringBuffer |
StringBuffer.append(String str) |
int |
String.compareTo(String anotherString) |
int |
String.compareToIgnoreCase(String anotherString) |
String |
String.concat(String str) |
boolean |
String.endsWith(String suffix) |
boolean |
String.equalsIgnoreCase(String anotherString) |
static String |
String.format(String format,
Object... args) |
static Class |
Class.forName(String className) |
byte[] |
String.getBytes(String enc) |
static String |
System.getProperty(String key) |
InputStream |
ClassLoader.getResourceAsStream(String name) |
InputStream |
Class.getResourceAsStream(String name) |
static InputStream |
ClassLoader.getSystemResourceAsStream(String name) |
int |
String.indexOf(String str) |
int |
String.indexOf(String str,
int fromIndex) |
StringBuilder |
StringBuilder.insert(int offset,
String str) |
StringBuffer |
StringBuffer.insert(int offset,
String str) |
int |
String.lastIndexOf(String string) |
int |
String.lastIndexOf(String subString,
int start) |
static boolean |
Boolean.parseBoolean(String s) |
static byte |
Byte.parseByte(String s) |
static byte |
Byte.parseByte(String s,
int radix) |
static double |
Double.parseDouble(String s) |
static float |
Float.parseFloat(String s) |
static int |
Integer.parseInt(String s) |
static int |
Integer.parseInt(String s,
int radix) |
static long |
Long.parseLong(String s) |
static long |
Long.parseLong(String s,
int radix) |
static short |
Short.parseShort(String s) |
static short |
Short.parseShort(String s,
int radix) |
boolean |
String.regionMatches(boolean ignoreCase,
int toffset,
String other,
int ooffset,
int len) |
boolean |
String.regionMatches(int thisStart,
String string,
int start,
int length) |
boolean |
String.startsWith(String prefix) |
boolean |
String.startsWith(String prefix,
int toffset) |
static <T extends Enum<T>> |
Enum.valueOf(Class<T> enumType,
String name) |
static Integer |
Integer.valueOf(String s) |
static Float |
Float.valueOf(String s) |
static Double |
Double.valueOf(String s) |
static Boolean |
Boolean.valueOf(String b) |
static Integer |
Integer.valueOf(String s,
int radix) |
| Modifier and Type | Method and Description |
|---|---|
String |
IncompleteAnnotationException.elementName() |
String |
Annotation.toString() |
| Modifier and Type | Method and Description |
|---|---|
static RetentionPolicy |
RetentionPolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ElementType |
ElementType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
| Constructor and Description |
|---|
AnnotationFormatError(String message) |
AnnotationFormatError(String message,
Throwable cause) |
IncompleteAnnotationException(Class<? extends Annotation> annotationType,
String elementName) |
| Modifier and Type | Method and Description |
|---|---|
String |
Method.getName() |
String |
Constructor.getName() |
| Modifier and Type | Method and Description |
|---|---|
String |
URI.getAuthority() |
String |
URI.getFragment() |
String |
URI.getHost() |
String |
URISyntaxException.getInput() |
String |
URI.getPath() |
String |
URI.getQuery() |
String |
URI.getRawAuthority() |
String |
URI.getRawFragment() |
String |
URI.getRawPath() |
String |
URI.getRawQuery() |
String |
URI.getRawSchemeSpecificPart() |
String |
URI.getRawUserInfo() |
String |
URISyntaxException.getReason() |
String |
URI.getScheme() |
String |
URI.getSchemeSpecificPart() |
String |
URI.getUserInfo() |
protected String |
URI.rebuildSchemeSpecificPart() |
String |
URI.toASCIIString() |
String |
URI.toString() |
| Modifier and Type | Method and Description |
|---|---|
static URI |
URI.create(String uriString) |
protected void |
URI.parseSchemeSpecificPart(String ssp,
boolean encode) |
protected void |
URI.parseURI(String uriString) |
protected void |
URI.setAuthority(String newAuthority,
boolean encode) |
protected void |
URI.setAuthority(String host,
int port,
String userInfo,
boolean encode) |
protected void |
URI.setFragment(String fragment,
boolean encode) |
protected void |
URI.setPath(String path,
boolean encode) |
protected void |
URI.setQuery(String query,
boolean encode) |
protected void |
URI.setScheme(String scheme) |
protected void |
URI.setSchemeSpecificPart(String ssp,
boolean encode) |
| Constructor and Description |
|---|
URI(String uriString) |
URI(String scheme,
String ssp,
String fragment) |
URI(String scheme,
String userInfo,
String host,
int port,
String path,
String query,
String fragment) |
URI(String scheme,
String authority,
String path,
String query,
String fragment) |
URISyntaxException(String input,
String reason) |
URISyntaxException(String input,
String reason,
int index) |
| Modifier and Type | Method and Description |
|---|---|
String |
Charset.displayName() |
| Modifier and Type | Method and Description |
|---|---|
static Charset |
Charset.forName(String name) |
| Constructor and Description |
|---|
Charset(String canonicalName,
String[] aliases) |
Charset(String canonicalName,
String[] aliases) |
| Modifier and Type | Method and Description |
|---|---|
String |
SimpleDateFormat.format(Date source) |
String |
DateFormat.format(Date source) |
abstract String |
Format.format(Object source) |
String |
DateFormat.format(Object obj) |
String[] |
DateFormatSymbols.getAmPmStrings() |
String[] |
DateFormatSymbols.getEras() |
String[] |
DateFormatSymbols.getMonths() |
String[] |
DateFormatSymbols.getShortMonths() |
String[] |
DateFormatSymbols.getShortWeekdays() |
String[] |
DateFormatSymbols.getWeekdays() |
String[][] |
DateFormatSymbols.getZoneStrings() |
String |
SimpleDateFormat.toPattern() |
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleDateFormat.applyPattern(String pattern) |
Date |
SimpleDateFormat.parse(String source) |
Date |
DateFormat.parse(String source) |
abstract Object |
Format.parseObject(String source) |
Object |
DateFormat.parseObject(String source) |
void |
DateFormatSymbols.setAmPmStrings(String[] newAmpms) |
void |
DateFormatSymbols.setEras(String[] newEras) |
void |
DateFormatSymbols.setMonths(String[] newMonths) |
void |
DateFormatSymbols.setShortMonths(String[] newShortMonths) |
void |
DateFormatSymbols.setShortWeekdays(String[] newShortWeekdays) |
void |
DateFormatSymbols.setWeekdays(String[] newWeekdays) |
void |
DateFormatSymbols.setZoneStrings(String[][] newZoneStrings) |
| Constructor and Description |
|---|
ParseException(String s,
int errorOffset) |
SimpleDateFormat(String pattern) |
| Modifier and Type | Method and Description |
|---|---|
String |
ZonedDateTime.format(DateTimeFormatter formatter) |
String |
OffsetDateTime.format(DateTimeFormatter formatter) |
String |
LocalTime.format(DateTimeFormatter formatter) |
String |
LocalDateTime.format(DateTimeFormatter formatter) |
String |
LocalDate.format(DateTimeFormatter formatter) |
String |
ZoneId.getId() |
String |
ZonedDateTime.toString() |
String |
ZoneId.toString() |
String |
Period.toString() |
String |
OffsetDateTime.toString() |
String |
LocalTime.toString() |
String |
LocalDateTime.toString() |
String |
LocalDate.toString() |
String |
Instant.toString() |
String |
Duration.toString() |
| Modifier and Type | Method and Description |
|---|---|
static ZoneOffset |
ZoneOffset.of(String offsetId) |
static ZoneId |
ZoneId.of(String zoneId) |
| Modifier and Type | Method and Description |
|---|---|
String |
DateTimeFormatter.format(TemporalAccessor temporal) |
String |
DateTimeParseException.getParsedString() |
| Modifier and Type | Method and Description |
|---|---|
static DateTimeFormatter |
DateTimeFormatter.ofPattern(String pattern) |
static DateTimeFormatter |
DateTimeFormatter.ofPattern(String pattern,
Locale locale) |
| Constructor and Description |
|---|
DateTimeParseException(String message,
CharSequence parsedData,
int errorIndex) |
| Modifier and Type | Method and Description |
|---|---|
static String |
Arrays.deepToString(Object[] array) |
static String[] |
TimeZone.getAvailableIDs() |
String |
Locale.getCountry() |
String |
TimeZone.getID() |
String |
Locale.getLanguage() |
String |
StringTokenizer.nextToken() |
String |
StringTokenizer.nextToken(String delims) |
String |
Vector.toString() |
String |
Hashtable.toString() |
String |
Date.toString() |
String |
BitSet.toString() |
String |
AbstractMap.toString() |
String |
AbstractMap.SimpleImmutableEntry.toString() |
String |
AbstractMap.SimpleEntry.toString() |
String |
AbstractCollection.toString() |
static String |
Arrays.toString(boolean[] array) |
static String |
Arrays.toString(byte[] array) |
static String |
Arrays.toString(char[] array) |
static String |
Arrays.toString(double[] array) |
static String |
Arrays.toString(float[] array) |
static String |
Arrays.toString(int[] array) |
static String |
Arrays.toString(long[] array) |
static String |
Objects.toString(Object o) |
static String |
Arrays.toString(Object[] array) |
static String |
Objects.toString(Object o,
String nullDefault) |
static String |
Arrays.toString(short[] array) |
| Modifier and Type | Method and Description |
|---|---|
static TimeZone |
TimeZone.getTimeZone(String ID) |
String |
StringTokenizer.nextToken(String delims) |
static <T> T |
Objects.requireNonNull(T obj,
String message) |
static String |
Objects.toString(Object o,
String nullDefault) |
| Constructor and Description |
|---|
ConcurrentModificationException(String detailMessage) |
Locale(String language,
String locale) |
NoSuchElementException(String s) |
StringTokenizer(String string) |
StringTokenizer(String string,
String delimiters) |
StringTokenizer(String string,
String delimiters,
boolean returnDelimiters) |
| Modifier and Type | Method and Description |
|---|---|
static Collector<CharSequence,?,String> |
Collectors.joining() |
Copyright © 2026. All rights reserved.