| Modifier and Type | Field and Description |
|---|---|
| private static final FilePathRec | |
| private static Recorder | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public FilePath | createTempFile(String
the suffix suffix, boolean if the file should be stored in the temporary directory inTempDir)Overrides org. Create a new temporary file. |
| public void | |
| public String | Returns: the prefixImplements abstract org. Get the prefix for this file system. |
| public boolean | |
| pack-priv void | |
| pack-priv void | |
| public void | moveTo(FilePath
the new fully qualified file name newPath, boolean whether the move should be atomic, and the target
file should be replaced if it exists and replacing is possible atomicReplace)Overrides org. Rename a file if this is allowed. |
| public OutputStream | newOutputStream(boolean
if true, the file will grow, if false, the file will be
truncated first append)Overrides org. Create an output stream to write into the file. |
| public FileChannel | open(String
the access mode. Supported are r, rw, rws, rwd mode)Overrides org. Open a random access file object. |
| public static void | |
| public static void | |
| public void |
| INSTANCE | back to summary |
|---|---|
| private static final FilePathRec INSTANCE | |
| recorder | back to summary |
|---|---|
| private static Recorder recorder | |
| trace | back to summary |
|---|---|
| private boolean trace | |
| FilePathRec | back to summary |
|---|---|
| public FilePathRec() | |
| createFile | back to summary |
|---|---|
| public boolean createFile() Overrides org. Doc from org. Create a new file.
| |
| createTempFile | back to summary |
|---|---|
| public FilePath createTempFile(String suffix, boolean inTempDir) throws IOException Overrides org. Doc from org. Create a new temporary file.
| |
| delete | back to summary |
|---|---|
| public void delete() Overrides org. Doc from org. Delete a file or directory if it exists. Directories may only be deleted if they are empty.
| |
| getScheme | back to summary |
|---|---|
| public String getScheme() Implements abstract org. Get the prefix for this file system. | |
| isTrace | back to summary |
|---|---|
| public boolean isTrace() | |
| log | back to summary |
|---|---|
| pack-priv void log(int op, String fileName) Log the operation.
| |
| log | back to summary |
|---|---|
| pack-priv void log(int op, String fileName, byte[] data, long x) Log the operation.
| |
| moveTo | back to summary |
|---|---|
| public void moveTo(FilePath newPath, boolean atomicReplace) Overrides org. Doc from org. Rename a file if this is allowed. | |
| newOutputStream | back to summary |
|---|---|
| public OutputStream newOutputStream(boolean append) throws IOException Overrides org. Doc from org. Create an output stream to write into the file.
| |
| open | back to summary |
|---|---|
| public FileChannel open(String mode) throws IOException Overrides org. Doc from org. Open a random access file object.
| |
| register | back to summary |
|---|---|
| public static void register() Register the file system. | |
| setRecorder | back to summary |
|---|---|
| public static void setRecorder(Recorder recorder) Set the recorder class.
| |
| setTrace | back to summary |
|---|---|
| public void setTrace(boolean trace) | |