com.aspose.imaging.sources
Class FileOpenSource

java.lang.Object
  extended by com.aspose.imaging.sources.FileSource
      extended by com.aspose.imaging.sources.FileOpenSource
All Implemented Interfaces:
Source

public final class FileOpenSource
extends FileSource

Represents a file source for opening.


Constructor Summary
FileOpenSource(java.lang.String filePath)
           Initializes a new instance of the FileOpenSource class.
 
Method Summary
 java.lang.String getFilePath()
           Gets the file path to open.
 StreamContainer getStreamContainer()
           Gets the stream container.
 boolean isTemporal()
           Gets a value indicating whether file will be temporal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileOpenSource

public FileOpenSource(java.lang.String filePath)

Initializes a new instance of the FileOpenSource class.

Parameters:
filePath - The file path to open.
Method Detail

getFilePath

public java.lang.String getFilePath()

Gets the file path to open.

Value: The file path to open.


getStreamContainer

public StreamContainer getStreamContainer()

Gets the stream container.

Returns:
the stream container.


Use with caution. You will need to dispose the stream container after retrieval.


isTemporal

public boolean isTemporal()

Gets a value indicating whether file will be temporal.

Value: true if file will be temporal; otherwise, false.

Specified by:
isTemporal in class FileSource