|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.File
corelib.io.files.File
corelib.io.files.Folder
public class Folder
This class defines the concept of folder on hard disk.
| Field Summary |
|---|
| Fields inherited from class java.io.File |
|---|
pathSeparator, pathSeparatorChar, separator, separatorChar |
| Constructor Summary | |
|---|---|
Folder(java.lang.String folderName)
Class construction that accept the name of the folder. |
|
| Method Summary | |
|---|---|
void |
copyInto(Folder sourceFolder,
boolean overwrite)
Copy the specified folder, in first parameter, into this folder. |
| Methods inherited from class java.io.File |
|---|
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toString, toURI, toURL |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Folder(java.lang.String folderName)
throws NotFolderException
FileSystem.mkdir or FileSystem.mkdirs methods.
folderName - The name of the considered folder.
NotFolderException - Thrown if folderName not references an existing folder on disk.FileSystem.mkdir(java.lang.String),
FileSystem.mkdirs(java.lang.String)| Method Detail |
|---|
public void copyInto(Folder sourceFolder,
boolean overwrite)
throws java.io.IOException
sourceFolder - The folder to copy in this folder.overwrite - Allows, or not, file replacement.
java.io.IOException - Thrown if copy cannot be performed, according the value of the overwrite parameter.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||