FileOpenSource
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.imaging.Source, com.aspose.imaging.sources.FileSource
public final class FileOpenSource extends FileSource
Represents a file source for opening.
Constructors
| Constructor | Description |
|---|---|
| FileOpenSource(String filePath) | Initializes a new instance of the FileOpenSource class. |
Methods
| Method | Description |
|---|---|
| getFilePath() | Gets the file path to open. |
| isTemporal() | Gets a value indicating whether file will be temporal. |
| getStreamContainer() | Gets the stream container. |
FileOpenSource(String filePath)
public FileOpenSource(String filePath)
Initializes a new instance of the FileOpenSource class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| filePath | java.lang.String | The file path to open. |
getFilePath()
public String getFilePath()
Gets the file path to open.
Value: The file path to open.
Returns: java.lang.String
isTemporal()
public boolean isTemporal()
Gets a value indicating whether file will be temporal.
Value: true if file will be temporal; otherwise, false.
Returns: boolean
getStreamContainer()
public StreamContainer getStreamContainer()
Gets the stream container.
Returns: StreamContainer - the stream container.
Use with caution. You will need to dispose the stream container after retrieval.