public class QueueFileProvider extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
OPEN_FILE_OPTIONS |
static String |
UTF_8_ENCODING |
| Constructor and Description |
|---|
QueueFileProvider(File storeDirectory,
String fileName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
closes the random access file.
|
void |
delete() |
File |
getFile() |
RandomAccessFile |
getRandomAccessFile() |
boolean |
isNewFile() |
void |
recreate()
recreates the file from scratch doing a delete then create.
|
public static final String OPEN_FILE_OPTIONS
public static final String UTF_8_ENCODING
public RandomAccessFile getRandomAccessFile()
public File getFile()
public void recreate()
throws IOException
IOExceptionpublic void delete()
public void close()
throws IOException
IOExceptionpublic boolean isNewFile()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.