java.lang.Object
com.lowagie.text.pdf.DefaultSplitCharacter
- All Implemented Interfaces:
SplitCharacter
Deprecated.
The default class that is used to determine whether or not a character is a split character. You can subclass this
class to define your own split characters.
- Since:
- 2.1.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SplitCharacterDeprecated.An instance of the default SplitCharacter. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected chargetCurrentCharacter(int current, char[] cc, PdfChunk[] ck) Deprecated.Returns the current characterbooleanisSplitCharacter(int start, int current, int end, char[] cc, PdfChunk[] ck) Deprecated.Checks if a character can be used to split aPdfString.
-
Field Details
-
DEFAULT
Deprecated.An instance of the default SplitCharacter.
-
-
Constructor Details
-
DefaultSplitCharacter
public DefaultSplitCharacter()Deprecated.
-
-
Method Details
-
isSplitCharacter
Deprecated.Checks if a character can be used to split aPdfString.for the moment every character less than or equal to SPACE, the character '-' and some specific unicode ranges are 'splitCharacters'.
- Specified by:
isSplitCharacterin interfaceSplitCharacter- Parameters:
start- start position in the arraycurrent- current position in the arrayend- end position in the arraycc- the character array that has to be checkedck- chunk array- Returns:
trueif the character can be used to split a string,falseotherwise
-
getCurrentCharacter
Deprecated.Returns the current character- Parameters:
current- current position in the arraycc- the character array that has to be checkedck- chunk array- Returns:
- the current character
-