public final class FileCreateSource extends FileSource
Represents a file source for creation.
| Constructor and Description |
|---|
FileCreateSource(String filePath)
Initializes a new instance of the
FileCreateSource class. |
FileCreateSource(String filePath,
boolean isTemporal)
Initializes a new instance of the
FileCreateSource class. |
| Modifier and Type | Method and Description |
|---|---|
String |
getFilePath()
Gets the file path to create.
|
StreamContainer |
getStreamContainer()
Gets the stream container.
|
boolean |
isTemporal()
Gets a value indicating whether file will be temporal.
|
public FileCreateSource(String filePath)
Initializes a new instance of the FileCreateSource class.
filePath - The file path to create.public FileCreateSource(String filePath, boolean isTemporal)
Initializes a new instance of the FileCreateSource class.
filePath - The file path to create.isTemporal - If set to true the created file will be temporal.public String getFilePath()
Gets the file path to create.
Value: The file path to create.public boolean isTemporal()
Gets a value indicating whether file will be temporal.
Value:true if file will be temporal; otherwise, false.isTemporal in class FileSourcetrue if file will be temporal; otherwise, false.public StreamContainer getStreamContainer()
Gets the stream container.
getStreamContainer in class SourceUse with caution. You will need to dispose the stream container after retrieval.
Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.