|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.fabric.netty.fileserver.FileHelperUtil
public class FileHelperUtil
| Field Summary | |
|---|---|
static java.nio.file.Path |
TEMP_DIR_PATH
|
| Constructor Summary | |
|---|---|
FileHelperUtil()
|
|
| Method Summary | |
|---|---|
static void |
delete(boolean quiet,
java.nio.file.Path... paths)
|
static void |
delete(java.nio.file.Path... paths)
|
static void |
move(java.nio.file.Path fromPath,
java.nio.file.Path toPath)
|
static void |
move(java.nio.file.Path fromPath,
java.nio.file.Path toPath,
boolean tryAtomicMove)
|
static java.nio.file.Path |
unzip(java.nio.file.Path sourcePath,
java.nio.file.Path destDirPath)
|
static long |
unzip(ZipInputStream zipInputStream,
java.nio.file.Path destPath)
|
static java.nio.file.Path |
zip(java.nio.file.Path sourcePath,
java.nio.file.Path destDirPath,
CompressionLevel compressionLevel)
|
static long |
zip(java.nio.file.Path sourcePath,
ZipOutputStream zipOutputStream)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.nio.file.Path TEMP_DIR_PATH
| Constructor Detail |
|---|
public FileHelperUtil()
| Method Detail |
|---|
public static void delete(boolean quiet,
java.nio.file.Path... paths)
public static void delete(java.nio.file.Path... paths)
public static void move(java.nio.file.Path fromPath,
java.nio.file.Path toPath)
throws IOException
IOException
public static void move(java.nio.file.Path fromPath,
java.nio.file.Path toPath,
boolean tryAtomicMove)
throws IOException
IOException
public static java.nio.file.Path unzip(java.nio.file.Path sourcePath,
java.nio.file.Path destDirPath)
throws IOException
IOException
public static long unzip(ZipInputStream zipInputStream,
java.nio.file.Path destPath)
throws IOException
IOException
public static java.nio.file.Path zip(java.nio.file.Path sourcePath,
java.nio.file.Path destDirPath,
CompressionLevel compressionLevel)
throws IOException
IOException
public static long zip(java.nio.file.Path sourcePath,
ZipOutputStream zipOutputStream)
throws IOException
IOException
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||