| Modifier and Type | Class and Description |
|---|---|
| protected static class | FileSystem.
A file system representation for a VM that does not support NIO2. |
| protected static class | FileSystem.
A file system representation for a VM that does support NIO2. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | |
| private static < The type of the action's resolved value. T> T | Returns: The action's resolved value.The action to execute from a privileged context. action)A proxy for |
| public static FileSystem | |
| public abstract void |
| FileSystem | back to summary |
|---|---|
| public FileSystem() | |
| copy | back to summary |
|---|---|
| public abstract void copy(File source, File target) throws IOException Copies a file.
| |
| doPrivileged | back to summary |
|---|---|
| private static <T> T doPrivileged(PrivilegedAction<T> action) A proxy for
| |
| getInstance | back to summary |
|---|---|
| public static FileSystem getInstance() Returns the
| |
| move | back to summary |
|---|---|
| public abstract void move(File source, File target) throws IOException Moves a file.
| |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | copy(File
The source file. source, File The target file. target)Implements abstract org. |
| public void | move(File
The source file. source, File The target file. target)Implements abstract org. |
| ForLegacyVm | back to summary |
|---|---|
| protected ForLegacyVm() | |
| copy | back to summary |
|---|---|
| public void copy(File source, File target) throws IOException Implements abstract org. Doc from org. Copies a file.
| |
| move | back to summary |
|---|---|
| public void move(File source, File target) throws IOException Implements abstract org. Doc from org. Moves a file.
| |
| Modifier and Type | Class and Description |
|---|---|
| protected static interface | FileSystem.
A dispatcher to resolve a |
| protected static interface | FileSystem.
A dispatcher to access the |
| protected static interface | FileSystem.
A dispatcher to interact with |
| Modifier and Type | Field and Description |
|---|---|
| private static final FileSystem. | DISPATCHER
A dispatcher to resolve a |
| private static final FileSystem. | FILES
A dispatcher to resolve a dispatcher for |
| private static final FileSystem. | STANDARD_COPY_OPTION
A dispatcher to interact with |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | copy(File
The source file. source, File The target file. target)Implements abstract org. |
| public void | move(File
The source file. source, File The target file. target)Implements abstract org. |
| DISPATCHER | back to summary |
|---|---|
| private static final FileSystem. A dispatcher to resolve a | |
| FILES | back to summary |
|---|---|
| private static final FileSystem. A dispatcher to resolve a dispatcher for | |
| STANDARD_COPY_OPTION | back to summary |
|---|---|
| private static final FileSystem. A dispatcher to interact with | |
| ForNio2CapableVm | back to summary |
|---|---|
| protected ForNio2CapableVm() | |
| copy | back to summary |
|---|---|
| public void copy(File source, File target) throws IOException Implements abstract org. Doc from org. Copies a file.
| |
| move | back to summary |
|---|---|
| public void move(File source, File target) throws IOException Implements abstract org. Doc from org. Moves a file.
| |
File to a java.nio.file.Path.
| Modifier and Type | Method and Description |
|---|---|
| public Object |
| toPath | back to summary |
|---|---|
| public Object toPath(File value) throws IOException Resolves a
| |
java.nio.file.Files API.
| copy | back to summary |
|---|---|
| public Object copy(Object source, Object target, Object[] option) throws IOException Copies a file. | |
| move | back to summary |
|---|---|
| public Object move(Object source, Object target, Object[] option) throws IOException Moves a file. | |
java.nio.file.StandardCopyOption.
| Modifier and Type | Method and Description |
|---|---|
| public Object[] | Returns: An array of typejava.nio.file.StandardCopyOption.The array's size. size)Creates an array of type |
| public Object |
| toArray | back to summary |
|---|---|
| public Object[] toArray(int size) Creates an array of type
| |
| valueOf | back to summary |
|---|---|
| public Object valueOf(String name) Resolve an enumeration for | |