| Package | Description |
|---|---|
| org.mule.extension.file.common.api | |
| org.mule.extension.file.common.api.command |
| Modifier and Type | Method and Description |
|---|---|
static FileWriteMode |
FileWriteMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileWriteMode[] |
FileWriteMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
BaseFileSystemOperations.doWrite(FileConnectorConfig config,
FileSystem fileSystem,
String path,
InputStream content,
boolean createParentDirectories,
boolean lock,
FileWriteMode mode)
Writes the
content into the file pointed by path. |
protected void |
BaseFileSystemOperations.doWrite(FileConnectorConfig config,
FileSystem fileSystem,
String path,
InputStream content,
String encoding,
boolean createParentDirectories,
boolean lock,
FileWriteMode mode)
Deprecated.
BaseFileSystemOperations.doWrite(FileConnectorConfig, FileSystem, String, InputStream, boolean, boolean, FileWriteMode)
must be used instead.
Writes the content into the file pointed by path.
If the directory on which the file is attempting to be written doesn't exist, then the operation will either throw
If the file itself already exists, then the behavior depends on the supplied
This operation also supports locking support depending on the value of the |
void |
AbstractFileSystem.write(String filePath,
InputStream content,
FileWriteMode mode,
boolean lock,
boolean createParentDirectories)
Writes the
content into the file pointed by filePath. |
default void |
FileSystem.write(String filePath,
InputStream content,
FileWriteMode mode,
boolean lock,
boolean createParentDirectories)
Writes the
content into the file pointed by filePath. |
void |
AbstractFileSystem.write(String filePath,
InputStream content,
FileWriteMode mode,
boolean lock,
boolean createParentDirectories,
String encoding)
Deprecated.
AbstractFileSystem.write(String, InputStream, FileWriteMode, boolean, boolean) must be used instead.
|
void |
FileSystem.write(String filePath,
InputStream content,
FileWriteMode mode,
boolean lock,
boolean createParentDirectories,
String encoding)
Deprecated.
FileSystem.write(String, InputStream, FileWriteMode, boolean, boolean) must be used instead.
Writes the content into the file pointed by filePath.
The
If the directory on which the file is attempting to be written doesn't exist, then the operation will either throw
If the file itself already exists, then the behavior depends on the supplied
This method also supports locking support depending on the value of the |
| Modifier and Type | Method and Description |
|---|---|
default void |
WriteCommand.write(String filePath,
InputStream content,
FileWriteMode mode,
boolean lock,
boolean createParentDirectory)
Writes a file under the considerations of
FileSystem.write(String, InputStream, FileWriteMode, boolean, boolean) |
void |
WriteCommand.write(String filePath,
InputStream content,
FileWriteMode mode,
boolean lock,
boolean createParentDirectory,
String encoding)
Deprecated.
@
WriteCommand.write(String, InputStream, FileWriteMode, boolean, boolean) must be used instead.
Writes a file under the considerations of
FileSystem.write(String, InputStream, FileWriteMode, boolean, boolean, String) |
Copyright © 2003–2019 MuleSoft, Inc.. All rights reserved.