public final class FileLockUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
FileLockUtils.Callable<T,U> |
static interface |
FileLockUtils.Runnable<T> |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
execute(File file,
FileLockUtils.Callable<? super org.apache.felix.utils.properties.Properties,T> callback,
boolean writeToFile) |
static <T> T |
execute(File file,
FileLockUtils.Callable<? super RandomAccessFile,T> callback) |
static void |
execute(File file,
FileLockUtils.Runnable<? super org.apache.felix.utils.properties.Properties> callback,
boolean writeToFile) |
static void |
execute(File file,
FileLockUtils.Runnable<? super RandomAccessFile> callback) |
public static void execute(File file, FileLockUtils.Runnable<? super RandomAccessFile> callback) throws IOException
IOExceptionpublic static <T> T execute(File file, FileLockUtils.Callable<? super RandomAccessFile,T> callback) throws IOException
IOExceptionpublic static void execute(File file, FileLockUtils.Runnable<? super org.apache.felix.utils.properties.Properties> callback, boolean writeToFile) throws IOException
IOExceptionpublic static <T> T execute(File file, FileLockUtils.Callable<? super org.apache.felix.utils.properties.Properties,T> callback, boolean writeToFile) throws IOException
IOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.