JAVA Tech VERSION 3.0 manual MethodgetDocReference, Method getCacheFile

Models: VERSION 3.0

1 88
Download 88 pages 5.41 Kb
Page 25
Image 25

Method:getDocReference()

E.g.

Var ref = ViewONE.getDocReference();

Gets the document reference for the document.

Method: getCacheFile()

E.g. var file = ViewONE.getGetCacheFile();

Returns a String value representing the local filename of the displayed image.

If the file was loaded locally then this value will be the actual local image file. If the file was loaded from a web server then this value will be the local ‘cached’ version of the image file.

*Important: This file must not be locked during read operations (or deleted, renamed. moved etc), as the applet will not be able to continue to use it and unpredictable results may occur.

isCacheAccessFailed ()

Returns true if access to the ViewONE cache fails. ViewONE may attempt to write to more than one location before and will only return true from this call if all attempts to write have failed.

25

Page 25
Image 25
JAVA Tech VERSION 3.0 manual MethodgetDocReference, Method getCacheFile