Static Public Member Functions | |
| static void | copy (File src, File dest) throws IOException |
| static void | copy (String src, String dest) throws IOException |
| static void | link (String src, String dest) throws IOException |
| static void | link (File src, File dest) throws IOException |
An helper class performing usefule file oeprations.
| static void alma::acs::eclipse::utils::jar::FileHelper::copy | ( | String | src, | |
| String | dest | |||
| ) | throws IOException [inline, static] |
Copy the source file in the destination.
| src | The path of the source file | |
| dest | The path of the dest file |
| IOException | In case of I/O error while copying |
References copy().
| static void alma::acs::eclipse::utils::jar::FileHelper::copy | ( | File | src, | |
| File | dest | |||
| ) | throws IOException [inline, static] |
| static void alma::acs::eclipse::utils::jar::FileHelper::link | ( | File | src, | |
| File | dest | |||
| ) | throws IOException [inline, static] |
Link the source file in the destination.
Java does not support file links and this method should be implemented with the help of JNI. This problems should be fixed in the incoming JDK7.
In this version the link is replaced by a copy.
TODO: Implement this method with JNI and use JDK7 method when available
| src | The file to copy | |
| dest | The copied file |
| IOException | In case of I/O error while copying |
References copy().
| static void alma::acs::eclipse::utils::jar::FileHelper::link | ( | String | src, | |
| String | dest | |||
| ) | throws IOException [inline, static] |
Link the source file in the destination.
Java does not support file links and this method should be implemented with the help of JNI. This problems should be fixed in the incoming JDK7.
In this version the link is replaced by a copy.
TODO: Implement this method with JNI and use JDK7 method when available
| src | The path of the source file | |
| dest | The path of the dest file |
| IOException | In case of I/O error while linking |
References copy().
1.6.2