You set the text extraction options as parameters to the Java Virtual Machine (JVM), via the Java -D option. To set the fallback format, use one of these two parameters:

-Dstellent.fallbackFormat=ascii8
-Dstellent.fallbackFormat=none

To set the file identication behavior, use one of these two parameters:

-Dstellent.fileId=normal
-Dstellent.fileId=extended

To enable the extraction of hidden text, use this parameter:

-Dstellent.extractHiddenText=true 

To pass these parameters to the JVM, use the -JVM flag when you run the CAS Service script or add JVM arguments to the script itself. Note that for Windows machines, the parameters should be quoted if they contain equal signs, as in this example:

cas-service -JVM "-Dstellent.fallbackFormat=ascii8"

Note that when using the -JVM flag, it must be the last flag on the command line.


Copyright © Legal Notices