Package com.adaptris.edi
Interface CharacterSet
-
- All Known Implementing Classes:
ConfigurableCharacterSet,StandardEdifactCharacterSet,StandardTradacomsCharacterSet,StandardX12CharacterSet
public interface CharacterSet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleandefaultEquals(java.lang.Object other)default intdefaultHashCode()chargetEscapeCharacter()Method to return the Escape character for this character setchargetSeparator(int type)Method to return a separator char for a given DataModelPart type.char[]getSeparators()Method to return an array containing all the separators used by this character set.
-
-
-
Method Detail
-
getSeparator
char getSeparator(int type) throws java.lang.ExceptionMethod to return a separator char for a given DataModelPart type.- Parameters:
type- which referes to one of the DataModelPart static types- Returns:
- the separator char
- Throws:
java.lang.Exception- of the type isn't supported
-
getSeparators
char[] getSeparators()
Method to return an array containing all the separators used by this character set. Should not include the escape character.- Returns:
- char array of separators
-
getEscapeCharacter
char getEscapeCharacter()
Method to return the Escape character for this character set- Returns:
- the escape char
-
defaultHashCode
default int defaultHashCode()
-
defaultEquals
default boolean defaultEquals(java.lang.Object other)
-
-