Package edu.cmu.tetrad.data
Class DelimiterType
java.lang.Object
edu.cmu.tetrad.data.DelimiterType
- All Implemented Interfaces:
- TetradSerializable,- Serializable
Type-safe enum of delimiter types for parsing data. DISCRETE is used in data where every line starts a new field and
 every occurrence of a tab starts a new field. SECTION_MARKER is replaces tabs by " *\t *". LAUNCH_TIME replaces tabs
 by ",". Custom replaces tabs by a specified regular expression.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final DelimiterTypeConstantCOLONstatic final DelimiterTypeConstantCOMMAstatic final DelimiterTypeConstantTABstatic final DelimiterTypeConstantWHITESPACE
- 
Method SummaryModifier and TypeMethodDescriptionGetter for the fieldpattern.static DelimiterTypeGenerates a simple exemplar of this class to test serialization.toString()Prints out the name of the type.
- 
Field Details- 
WHITESPACEConstantWHITESPACE
- 
TABConstantTAB
- 
COMMAConstantCOMMA
- 
COLONConstantCOLON
 
- 
- 
Method Details- 
serializableInstanceGenerates a simple exemplar of this class to test serialization.- Returns:
- a DelimiterTypeobject
 
- 
getPatternGetter for the field pattern.- Returns:
- the CPDAG representing this delimiter type. This CPDAG can be used to parse, using a matcher.
 
- 
toStringPrints out the name of the type.
 
-