Class ToString.Style
java.lang.Object
fc.util.ToString.Style
- Enclosing class:
- ToString
Drives the formatting behavior. Behavior different than 
the defaults can be achieved by instantiating a new object
and setting it's properties appropriately.
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptiondefault: ,booleanPrint the class name at all ? default: truedefault: }The end of the string after the object classname and identity reference.The end of the entire string.booleanExpand array values, default: false.default: =booleanPrint the field name ? default: true.default: ,booleanprint full class name ? default: falsebooleanprint indentity hash code for the object ? default: truebooleanprint field names when using reflection ? default: truebooleanReflects static variables.booleanPrints the superclass's variables when using reflection ? default: falseDefault access level when using reflection (fields with this or looser access will be printed).default: {The start of the string after the object classname and identity reference.The start of the entire string.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidignoreFieldName(String name) Case insensitive field names that will be ignored (for example a public field "foo" may be printed otherwise, but if added to this list, it would be ignored).toString()
- 
Field Details- 
startStringThe start of the entire string. default to empty: ""
- 
endString
- 
startContentThe start of the string after the object classname and identity reference. default: [
- 
endContentThe end of the string after the object classname and identity reference. default: ]
- 
fieldAndValSepdefault: =
- 
fieldSep
- 
startArraydefault: {
- 
endArray
- 
arrayValSepdefault: ,
- 
expandArraysExpand array values, default: false. invalid input: '<'bNote: expansion only works when arrays are manually added using one of the append(..) methods, not when using reflection.
- 
fieldNamePrint the field name ? default: true. If field names are not printed, then neither is the- only the value of a field is printed.invalid reference#FieldAndValSep
- 
classNamePrint the class name at all ? default: true
- 
fullClassNameprint full class name ? default: false
- 
idHashCodeprint indentity hash code for the object ? default: true
- 
reflectFieldNameprint field names when using reflection ? default: true
- 
reflectSuperClassPrints the superclass's variables when using reflection ? default: false
- 
reflectStaticsReflects static variables. By default this is false since statics are not part of the object's instance-state.
- 
reflectVisibleLevelDefault access level when using reflection (fields with this or looser access will be printed). default: PRIVATE (EVERYTHING IS PRINTED)
 
- 
- 
Constructor Details- 
Stylepublic Style()
 
- 
- 
Method Details- 
ignoreFieldNameCase insensitive field names that will be ignored (for example a public field "foo" may be printed otherwise, but if added to this list, it would be ignored). Use this method to add as many field names as needed.
- 
toString
 
-