com.visioglobe.libVisioDevKit
Class VgIResourceManager
java.lang.Object
com.visioglobe.libVisioDevKit.VgIResourceManager
public class VgIResourceManager
- extends java.lang.Object
Manages resources.
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
swigCMemOwn
protected boolean swigCMemOwn
VgIResourceManager
public VgIResourceManager(long cPtr,
boolean cMemoryOwn)
getCPtr
public static long getCPtr(VgIResourceManager obj)
finalize
protected void finalize()
- Overrides:
finalize
in class java.lang.Object
delete
public void delete()
readFromFileOrURL
public VgBinaryBufferRefPtr readFromFileOrURL(java.lang.String pFilenameOrURL)
- Reads synchronously a file or a URL.
This function does not have the constraint that a configuration has to be loaded.
- Parameters:
pFilenameOrURL
- File-system path or URL of the resource
- Returns:
- The buffer filled with the source content.
readFromFileOrURL
public VgIResourceRequestRefPtr readFromFileOrURL(VgResourceRequestParameters pParameters)
- Reads asynchronously a file or a URL.
- Parameters:
pParameters
- Parameters of the request.
- Returns:
- The resulting request. If the callback is NULL or the URI is empty, it returns NULL.
- Remark:
- this function currently works ONLY IF a configuration is loaded since it relies on threads being created.