FileDataSource
Contents
[
Hide
]Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.page.plugins.IDataSource
public final class FileDataSource implements IDataSource
Represents file data source for load and save operations of a plugin.
Constructors
Constructor | Description |
---|---|
FileDataSource(String path) | Initializes new file data source with the specified path. |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
getDataType() | Type of data source (file). |
getPath() | Gets the path to the file of the current data source. |
hashCode() | |
notify() | |
notifyAll() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
FileDataSource(String path)
public FileDataSource(String path)
Initializes new file data source with the specified path.
Parameters:
Parameter | Type | Description |
---|---|---|
path | java.lang.String | A string representing the path to the source file. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDataType()
public final int getDataType()
Type of data source (file).
Returns: int
getPath()
public final String getPath()
Gets the path to the file of the current data source.
Returns: java.lang.String
hashCode()
public native int hashCode()
Returns: int
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 native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |