public class FileSystemUtil extends Object
Constructor and Description |
---|
FileSystemUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
deleteLocalFile(File file)
Deletes a file locally.
|
static boolean |
isStandardFileSystem()
Returns whether the used file system is a LumisPortal standard one.
|
static <T extends Serializable> |
sendClusterCommand(IClusterCallable<T> callable)
Utility method that sends the given callable as a durable, total order cluster command.
|
static void |
sendClusterCommand(Runnable runnable)
Utility method that sends the given runnable as a durable, total order
cluster command.
|
public static boolean deleteLocalFile(File file)
file
- the file.public static void sendClusterCommand(Runnable runnable)
runnable
- the runnable.public static <T extends Serializable> T sendClusterCommand(IClusterCallable<T> callable) throws Exception
callable
- the callable.Exception
public static boolean isStandardFileSystem()
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.