Package com.adaptris.edi
Class StandardEdifactCharacterSet
java.lang.Object
com.adaptris.edi.StandardEdifactCharacterSet
- All Implemented Interfaces:
CharacterSet
Standard EDIFACT
CharacterSet implementation.In the adapter configuration file this class is aliased as edi-standard-edifact which is the preferred alternative to the fully qualified classname when building your configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancharMethod to return the Escape character for this character setchargetSeparator(int type) Method to return a separator char for a given DataModelPart type.char[]Method to return an array containing all the separators used by this character set.inthashCode()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.adaptris.edi.CharacterSet
defaultEquals, defaultHashCode
-
Constructor Details
-
StandardEdifactCharacterSet
public StandardEdifactCharacterSet()
-
-
Method Details
-
getSeparator
Description copied from interface:CharacterSetMethod to return a separator char for a given DataModelPart type.- Specified by:
getSeparatorin interfaceCharacterSet- Parameters:
type- which referes to one of the DataModelPart static types- Returns:
- the separator char
- Throws:
Exception- of the type isn't supported
-
getSeparators
public char[] getSeparators()Description copied from interface:CharacterSetMethod to return an array containing all the separators used by this character set. Should not include the escape character.- Specified by:
getSeparatorsin interfaceCharacterSet- Returns:
- char array of separators
-
getEscapeCharacter
public char getEscapeCharacter()Description copied from interface:CharacterSetMethod to return the Escape character for this character set- Specified by:
getEscapeCharacterin interfaceCharacterSet- Returns:
- the escape char
-
equals
-
hashCode
public int hashCode()
-