FileOpenSource

Inheritance: java.lang.Object, com.aspose.psd.Source, com.aspose.psd.sources.FileSource

public final class FileOpenSource extends FileSource

Represents a file source for opening.

Constructors

ConstructorDescription
FileOpenSource(String filePath)Initializes a new instance of the FileOpenSource class.

Methods

MethodDescription
equals(Object arg0)
getClass()
getFilePath()Gets the file path to open.
getStreamContainer()Gets the stream container.
hashCode()
isTemporal()Gets a value indicating whether file will be temporal.
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

FileOpenSource(String filePath)

public FileOpenSource(String filePath)

Initializes a new instance of the FileOpenSource class.

Parameters:

ParameterTypeDescription
filePathjava.lang.StringThe file path to open.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getFilePath()

public String getFilePath()

Gets the file path to open.

Value: The file path to open.

Returns: java.lang.String

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.

hashCode()

public native int hashCode()

Returns: int

isTemporal()

public boolean isTemporal()

Gets a value indicating whether file will be temporal.

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

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int