com.javactionscript.server
Class ContextualFolderProperties

java.lang.Object
  extended by com.javactionscript.server.ContextualFolderProperties

public class ContextualFolderProperties
extends java.lang.Object

The parameters that will enable a ContextualFolder resource to be created and used from inside a RemoteTransaction.
The ContextualFolderProperties object can be accessed from inside the ContextFactory constructor override.


Field Summary
 java.lang.String fullPathToConvertUtility
          When running on Windows, ImageMagick's convert utility is mistaken with Microsoft's own convert.exe.
 boolean useImageMagick
          Allows to choose what library will be used in the BlobFile.convertToJPG(int, int).
 
Method Summary
 void unlock()
          Unlocks the resource so that it will be accessible from each command (providing the resource is correctly configured).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

useImageMagick

public boolean useImageMagick
Allows to choose what library will be used in the BlobFile.convertToJPG(int, int). True means to use the ImageMagick library (>font color=red <Warning! A lot faster but it requires the ImageMagick library to be installed on the server>/font<) and false means to use javax.imageio and java.awt.image (a lot slower). Default is false. Warning! If the environment is WIN32 then BlobFile.convertToJPG(int, int) MUST be specified.


fullPathToConvertUtility

public java.lang.String fullPathToConvertUtility
When running on Windows, ImageMagick's convert utility is mistaken with Microsoft's own convert.exe. The complete path to ImageMagick's convert.exe can be specified in order to avoid this problem. Ignore this and leave it null if the server runs on Linux. (default null) It must be the complete path of the executable e.g.: "C:/Program Files/ImageMagick-6.2.5-Q16/convert"

Method Detail

unlock

public void unlock()
Unlocks the resource so that it will be accessible from each command (providing the resource is correctly configured).



Copyright 2008 LUNAFELINA - www.javactionscript.com - www.lunafelina.com