com.ibm.rational.wvcm.stp.cq
Class CqQuery.FileOptionsClass
Object
CqQuery.FileOptionsClass
- All Implemented Interfaces:
- CqQuery.FileOptions
- Enclosing interface:
- CqQuery
public static class CqQuery.FileOptionsClass
- extends Object
- implements CqQuery.FileOptions
Instances of this class provide the default values for each attribute
specified by the FileOptions interface, which is the same behavior
exhibited when using null for a FileOptions parameter. Clients
can provide non-default attribute values by defining and instantiating a
subclass of this class that overrides select methods to provide the
desired non-default value.
Using a class instance creation expression, for example, one could define
a FileOptions object for requesting the use of tabs as the file
delimiter...
FileOptions USE_TABS = new FileOptionsClass(){
public String getDelimiter() { return "\t"; };
};
Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CqQuery.FileOptionsClass
public CqQuery.FileOptionsClass()
getDelimiter
public String getDelimiter()
- Specified by:
getDelimiter
in interface CqQuery.FileOptions
- Returns:
- The delimiter to use in those file formats that use a
delimiter.
getMaxMultiLineTextLength
public Long getMaxMultiLineTextLength()
- Specified by:
getMaxMultiLineTextLength
in interface CqQuery.FileOptions
- Returns:
- The maximum number of characters that are to be included in
each row of the response for each multi-line text display
field.
getOptions
public String getOptions()
- Specified by:
getOptions
in interface CqQuery.FileOptions
- Returns:
- A String containing additional options for specifying the
form and content of the result set file.
Copyright © IBM 2011. All rights reserved.