com.tuneology.sane
Class StringOption

java.lang.Object
  |
  +--com.tuneology.sane.OptionDescriptor
        |
        +--com.tuneology.sane.StringOption

public class StringOption
extends OptionDescriptor

This option is a String value.

Version:
$Id$
Author:
Fran Taylor

Method Summary
 java.lang.String getValue()
          Returns option values.
 int setValue(java.lang.String str)
          Set option values.
 
Methods inherited from class com.tuneology.sane.OptionDescriptor
getCap, getDescription, getElements, getName, getRange, getSize, getTitle, getUnit, setAutomatic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getValue

public java.lang.String getValue()
                          throws SaneException
Returns option values.

Returns:
array of values.
Throws:
SaneException

setValue

public int setValue(java.lang.String str)
             throws SaneException
Set option values.

Returns:
the following bits may be set: Sane.INFO_INEXACT, Sane.INFO_RELOAD_OPTIONS, Sane.INFO_RELOAD_PARAMS.
Throws:
SaneException