|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.util.transforms.StaticCollectionInterfaceToStringTransform
public class StaticCollectionInterfaceToStringTransform
A transform for converting a StaticCollectionInterface to a String.
For example, a given a collection that contains the values
"com.sas"
null
"webAF"
1
then invoking this transorm on the collection
String s t.transform(collection)
will yield the string "com.sas",null,"webAF",a.
StringToCollectionInterfaceTransform,
Serialized Form| Field Summary | |
|---|---|
static StaticCollectionInterfaceToStringTransform |
defaultInstance
An object which can perform a default transform from CollectionInterface to String. |
| Constructor Summary | |
|---|---|
StaticCollectionInterfaceToStringTransform()
Default constructor. |
|
StaticCollectionInterfaceToStringTransform(char delimiter,
boolean alwaysQuote)
Value constructor. |
|
| Method Summary | |
|---|---|
protected static char |
defaultDelimiterChar()
|
java.lang.Object |
transform(java.lang.Object object)
Transform an object. |
| Field Detail |
|---|
public static final StaticCollectionInterfaceToStringTransform defaultInstance
| Constructor Detail |
|---|
public StaticCollectionInterfaceToStringTransform()
CollectionInterface into a String,
using the default delimiter ',' and always quoting strings
public StaticCollectionInterfaceToStringTransform(char delimiter,
boolean alwaysQuote)
CollectionInterface into a String,
using the specific delimiter and quoting.
- Parameters:
delimiter - character to separate the string items in the resultalwaysQuote - if tr
ue, each string is quoted, else only
special strings are quoted.| Method Detail |
|---|
protected static char defaultDelimiterChar()
public java.lang.Object transform(java.lang.Object object)
transform in interface com.sas.util.transforms.TransformInterfaceobject - an input object. Must be null or an instance of CollectionInterface
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||