|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.taleo.integration.client.customstep.util.IOHelper
public class IOHelper
IO helper functions, in extension to com.taleo.integration.client.util.IOHelper.
Constructor Summary | |
---|---|
IOHelper()
|
Method Summary | |
---|---|
static java.io.File |
getCompressedFile(java.io.File pOriginalFile,
java.io.File pTempFolder,
java.lang.String pEntry)
Get the original file compressed or the file itself if it is already compressed. |
static java.io.File |
getDecompressedFile(java.io.File pCompressedFile)
Get the decompressed file or the file itself if it is already decompressed. |
static void |
getDecompressedFile(java.io.File pCompressedFile,
java.io.File pDestFile)
Get the decompressed file or the file itself if it is already decompressed, into the destination file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IOHelper()
Method Detail |
---|
public static java.io.File getCompressedFile(java.io.File pOriginalFile, java.io.File pTempFolder, java.lang.String pEntry) throws java.io.IOException
pOriginalFile
- the original filepTempFolder
- the temporary files folderpEntry
- the actual entry name of the compressed file. Will be ignored
if the attribute com.taleo.integration.compress.tempfile as
been set to false, as the output won't be a
ZipOutputStream
.
java.io.IOException
public static java.io.File getDecompressedFile(java.io.File pCompressedFile) throws java.io.IOException
pCompressedFile
- the compressed file
java.io.IOException
public static void getDecompressedFile(java.io.File pCompressedFile, java.io.File pDestFile) throws java.io.IOException
pCompressedFile
- the compressed filepDestFile
- the destination file
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |