| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public String | Returns: the name of a charsetthe path path)Returns the name of a charset to be used when decoding the contents of this file into characters. |
| public Iterable | Returns: the children of the folder the given path points to; empty iterable if the path points to a non existent file or folder
|
| public CharSequence | Returns: an input stream containing the contents of the filethe path path)Returns the contents of this file as a char sequence. |
| public InputStream | Returns: an input stream containing the contents of the filethe path path)Returns an open input stream on the contents of this file. |
| public long | Returns: Along value representing the time the file was
last modified, measured in milliseconds since the epoch
(00:00:00 GMT, January 1, 1970), or 0L if the
file does not exist.
|
| public boolean | |
| public boolean | |
| public URI |
| exists | back to summary |
|---|---|
public boolean exists(Path path)
| |
| getCharset | back to summary |
|---|---|
| public String getCharset(Path path) Returns the name of a charset to be used when decoding the contents of this file into characters.
| |
| getChildren | back to summary |
|---|---|
public Iterable
| |
| getContents | back to summary |
|---|---|
| public CharSequence getContents(Path path) Returns the contents of this file as a char sequence.
| |
| getContentsAsStream | back to summary |
|---|---|
| public InputStream getContentsAsStream(Path path) Returns an open input stream on the contents of this file.
| |
| getLastModification | back to summary |
|---|---|
public long getLastModification(Path path)
| |
| isFile | back to summary |
|---|---|
public boolean isFile(Path path)
| |
| isFolder | back to summary |
|---|---|
public boolean isFolder(Path path)
| |
| toURI | back to summary |
|---|---|
| public URI toURI(Path path) Returns the URI representing the given path. Warning Don't use this method to get write access. | |