Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
java.nio |
Defines buffers, which are containers for data.
|
java.nio.channels |
Defines channels, which represent connections to entities that are capable of
performing I/O operations, such as files.
|
java.nio.file |
Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
|
java.nio.file.attribute |
Interfaces and classes providing access to file and file system attributes.
|
Modifier and Type | Method and Description |
---|---|
StringBuilder |
StringBuilder.append(boolean b) |
StringBuffer |
StringBuffer.append(boolean b) |
StringBuilder |
StringBuilder.append(char c) |
StringBuffer |
StringBuffer.append(char c) |
StringBuilder |
StringBuilder.append(char[] str) |
StringBuffer |
StringBuffer.append(char[] str) |
StringBuilder |
StringBuilder.append(char[] str,
int offset,
int len) |
StringBuffer |
StringBuffer.append(char[] str,
int offset,
int len) |
StringBuilder |
StringBuilder.append(CharSequence s) |
StringBuffer |
StringBuffer.append(CharSequence s)
Appends the specified
CharSequence to this
sequence. |
StringBuilder |
StringBuilder.append(CharSequence s,
int start,
int end) |
StringBuffer |
StringBuffer.append(CharSequence s,
int start,
int end) |
StringBuilder |
StringBuilder.append(double d) |
StringBuffer |
StringBuffer.append(double d) |
StringBuilder |
StringBuilder.append(float f) |
StringBuffer |
StringBuffer.append(float f) |
StringBuilder |
StringBuilder.append(int i) |
StringBuffer |
StringBuffer.append(int i) |
StringBuilder |
StringBuilder.append(long lng) |
StringBuffer |
StringBuffer.append(long lng) |
StringBuilder |
StringBuilder.append(Object obj) |
StringBuffer |
StringBuffer.append(Object obj) |
StringBuilder |
StringBuilder.append(String str) |
StringBuffer |
StringBuffer.append(String str) |
int |
StringBuffer.capacity() |
char |
StringBuffer.charAt(int index) |
StringBuilder |
StringBuilder.delete(int start,
int end) |
StringBuffer |
StringBuffer.delete(int start,
int end) |
StringBuilder |
StringBuilder.deleteCharAt(int index) |
StringBuffer |
StringBuffer.deleteCharAt(int index) |
void |
StringBuffer.ensureCapacity(int minimumCapacity) |
void |
StringBuffer.getChars(int srcBegin,
int srcEnd,
char[] dst,
int dstBegin) |
int |
Short.hashCode()
Returns a hash code for this
Short ; equal to the result
of invoking intValue() . |
int |
Long.hashCode()
Returns a hash code for this
Long . |
int |
Integer.hashCode()
Returns a hash code for this
Integer . |
int |
Float.hashCode()
Returns a hash code for this
Float object. |
int |
Double.hashCode()
Returns a hash code for this
Double object. |
int |
Character.hashCode()
Returns a hash code for this
Character ; equal to the result
of invoking charValue() . |
int |
Byte.hashCode()
Returns a hash code for this
Byte ; equal to the result
of invoking intValue() . |
int |
Boolean.hashCode()
Returns a hash code for this
Boolean object. |
int |
StringBuilder.indexOf(String str) |
int |
StringBuffer.indexOf(String str) |
int |
StringBuilder.indexOf(String str,
int fromIndex) |
int |
StringBuffer.indexOf(String str,
int fromIndex) |
StringBuilder |
StringBuilder.insert(int offset,
boolean b) |
StringBuffer |
StringBuffer.insert(int offset,
boolean b) |
StringBuilder |
StringBuilder.insert(int offset,
char c) |
StringBuffer |
StringBuffer.insert(int offset,
char c) |
StringBuilder |
StringBuilder.insert(int offset,
char[] str) |
StringBuffer |
StringBuffer.insert(int offset,
char[] str) |
StringBuilder |
StringBuilder.insert(int index,
char[] str,
int offset,
int len) |
StringBuffer |
StringBuffer.insert(int index,
char[] str,
int offset,
int len) |
StringBuilder |
StringBuilder.insert(int dstOffset,
CharSequence s) |
StringBuffer |
StringBuffer.insert(int dstOffset,
CharSequence s) |
StringBuilder |
StringBuilder.insert(int dstOffset,
CharSequence s,
int start,
int end) |
StringBuffer |
StringBuffer.insert(int dstOffset,
CharSequence s,
int start,
int end) |
StringBuilder |
StringBuilder.insert(int offset,
double d) |
StringBuffer |
StringBuffer.insert(int offset,
double d) |
StringBuilder |
StringBuilder.insert(int offset,
float f) |
StringBuffer |
StringBuffer.insert(int offset,
float f) |
StringBuilder |
StringBuilder.insert(int offset,
int i) |
StringBuffer |
StringBuffer.insert(int offset,
int i) |
StringBuilder |
StringBuilder.insert(int offset,
long l) |
StringBuffer |
StringBuffer.insert(int offset,
long l) |
StringBuilder |
StringBuilder.insert(int offset,
Object obj) |
StringBuffer |
StringBuffer.insert(int offset,
Object obj) |
StringBuilder |
StringBuilder.insert(int offset,
String str) |
StringBuffer |
StringBuffer.insert(int offset,
String str) |
int |
StringBuilder.lastIndexOf(String str) |
int |
StringBuffer.lastIndexOf(String str) |
int |
StringBuilder.lastIndexOf(String str,
int fromIndex) |
int |
StringBuffer.lastIndexOf(String str,
int fromIndex) |
int |
StringBuffer.length() |
StringBuilder |
StringBuilder.replace(int start,
int end,
String str) |
StringBuffer |
StringBuffer.replace(int start,
int end,
String str) |
StringBuilder |
StringBuilder.reverse() |
StringBuffer |
StringBuffer.reverse() |
void |
Thread.run()
If this thread was constructed using a separate
Runnable run object, then that
Runnable object's run method is called;
otherwise, this method does nothing and returns. |
void |
StringBuffer.setCharAt(int index,
char ch) |
void |
StringBuffer.setLength(int newLength) |
CharSequence |
StringBuffer.subSequence(int start,
int end) |
String |
StringBuffer.substring(int start) |
String |
StringBuffer.substring(int start,
int end) |
String |
StringBuilder.toString() |
String |
StringBuffer.toString() |
void |
StringBuffer.trimToSize() |
Modifier and Type | Method and Description |
---|---|
boolean |
ShortBuffer.equals(Object ob)
Tells whether or not this buffer is equal to another object.
|
boolean |
IntBuffer.equals(Object ob)
Tells whether or not this buffer is equal to another object.
|
boolean |
FloatBuffer.equals(Object ob)
Tells whether or not this buffer is equal to another object.
|
boolean |
ByteBuffer.equals(Object ob)
Tells whether or not this buffer is equal to another object.
|
int |
ShortBuffer.hashCode()
Returns the current hash code of this buffer.
|
int |
IntBuffer.hashCode()
Returns the current hash code of this buffer.
|
int |
FloatBuffer.hashCode()
Returns the current hash code of this buffer.
|
int |
ByteBuffer.hashCode()
Returns the current hash code of this buffer.
|
String |
ShortBuffer.toString()
Returns a string summarizing the state of this buffer.
|
String |
IntBuffer.toString()
Returns a string summarizing the state of this buffer.
|
String |
FloatBuffer.toString()
Returns a string summarizing the state of this buffer.
|
String |
ByteBuffer.toString()
Returns a string summarizing the state of this buffer.
|
Modifier and Type | Method and Description |
---|---|
void |
FileChannel.close() |
boolean |
FileChannel.isOpen() |
int |
SeekableByteChannel.read(ByteBuffer dst)
Reads a sequence of bytes from this channel into the given buffer.
|
int |
SeekableByteChannel.write(ByteBuffer src)
Writes a sequence of bytes to this channel from the given buffer.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
FileSystem.close()
Closes this file system.
|
int |
Path.compareTo(Path other)
Compares two abstract paths lexicographically.
|
IOException |
DirectoryIteratorException.getCause()
Returns the cause of this exception.
|
String |
FileSystemException.getMessage()
Returns the detail message string.
|
Iterator<Path> |
Path.iterator()
Returns an iterator over the name elements of this path.
|
Iterator<T> |
DirectoryStream.iterator()
Returns the iterator associated with this
DirectoryStream . |
Modifier and Type | Method and Description |
---|---|
int |
FileTime.compareTo(FileTime other)
Compares the value of two
FileTime objects for order. |
boolean |
FileTime.equals(Object obj)
Tests this
FileTime for equality with the given object. |
int |
FileTime.hashCode()
Computes a hash code for this file time.
|
String |
FileTime.toString()
Returns the string representation of this
FileTime . |
Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. Use of this specification is subject to license terms.