Class ZString

java.lang.Object
   |
   +----ZString

public class ZString
extends Object

Constructor Index

 o ZString()
 o ZString(byte[], int)
 o ZString(byte[], int, int, int)
 o ZString(char[])
 o ZString(char[], int, int)
 o ZString(String)
 o ZString(StringBuffer)
 o ZString(ZString)

Method Index

 o add(char)
 o add(String)
 o add(ZString)
 o addChar(char)
 o addNChars(int, char)
 o append(char)
 o append(String)
 o append(ZString)
 o appendChar(char)
 o appendNChars(int, char)
 o arrange()
 o charAt(int)
 o check(ZString)
 o check(ZString, char)
 o check(ZString, char, boolean)
 o clear()
 o compact(int)
 o compareTo(ZString)
 o concat(String)
 o copyValueOf(char[])
 o copyValueOf(char[], int, int)
 o countOccurences(char)
 o countOccurences(String)
 o countOccurences(ZString)
 o deleteAll(char)
 o deleteAll(String)
 o deleteAll(ZString)
 o deleteAllBut(String)
 o deleteAllBut(ZString)
 o deleteAllNewlines()
 o deleteAllQuotes()
 o deleteAllSpaces()
 o deleteChar()
 o deleteChar(int)
 o deleteCharIf(int, char)
 o deleteFirstChar()
 o deleteFirstCharIf(char)
 o deleteFirstNChars(int)
 o deleteHeadUntil(char)
 o deleteHeadUntilNot(char)
 o deleteLastChar()
 o deleteLastCharIf(char)
 o deleteLastCharIfNewline()
 o deleteLastNChars(int)
 o deleteNChars(int)
 o deleteNChars(int, int)
 o deleteParenthesis()
 o deleteQuotes()
 o deleteTailUntil(char)
 o deleteTailUntilNot(char)
 o endsWith(ZString)
 o equals(Object)
 o equalsIgnoreCase(ZString)
 o fillWithChars(char)
 o fillWithNChars(int, char)
 o findADigit()
 o findButADigit()
 o findNearestCharAt(char, int)
 o findNearestCharAtBeginning(char)
 o findNearestCharAtEnd(char)
 o findNearestCharAtLeft(char, int)
 o findNearestCharAtRight(char, int)
 o findNearestDifferentCharAt(char, int)
 o findNearestDifferentCharAtBeginning(char)
 o findNearestDifferentCharAtEnd(char)
 o findNearestDifferentCharAtLeft(char, int)
 o findNearestDifferentCharAtRight(char, int)
 o firstChar()
 o firstHalf()
 o firstNChars(int)
 o getBytes(int, int, byte[], int)
 o getChars(int, int, char[], int)
 o hashCode()
 o hasParenthesis()
 o hasQuotes()
 o indexOf(int)
 o indexOf(int, int)
 o indexOf(String)
 o indexOf(String, int)
 o insert(char)
 o insert(char, int)
 o insert(String)
 o insert(String, int)
 o insert(ZString)
 o insert(ZString, int)
 o insertChar(char)
 o insertChar(char, int)
 o insertNChars(int, char)
 o insertNChars(int, char, int)
 o insertNewlineChar()
 o insertNewlineChar(int)
 o insertParenthesis()
 o insertQuotes()
 o intern()
 o isCharAt(char, int)
 o isNewlineAt(int)
 o isQuoteAt(int)
 o isSpaceAt(int)
 o lastChar()
 o lastIndexOf(int)
 o lastIndexOf(int, int)
 o lastIndexOf(String)
 o lastIndexOf(String, int)
 o lastNChars(int)
 o length()
 o minus(char)
 o minus(String)
 o minus(ZString)
 o minusChar(char)
 o nChars(int, int)
 o plus(char)
 o plus(String)
 o plus(ZString)
 o plusChar(char)
 o plusNChars(int, char)
 o regionMatches(boolean, int, ZString, int, int)
 o regionMatches(int, ZString, int, int)
 o replace(char, char)
 o reverse()
 o rotateLeft()
 o rotateRight()
 o secondHalf()
 o set(char)
 o set(String)
 o set(ZString)
 o shiftLeft()
 o shiftLeft(char)
 o shiftRight()
 o shiftRight(char)
 o shorten(int)
 o startsWith(ZString)
 o startsWith(ZString, int)
 o substring(int)
 o substring(int, int)
 o subtract(char)
 o subtract(String)
 o subtract(ZString)
 o subtractChar(char)
 o toCharArray()
 o toLowerCase()
 o toLowerCaseAll(char)
 o toLowerCaseAll(String)
 o toLowerCaseAll(ZString)
 o toLowerCaseAllBut(char)
 o toLowerCaseAllBut(String)
 o toLowerCaseAllBut(ZString)
 o toString()
 o toUpperCase()
 o toUpperCaseAll(char)
 o toUpperCaseAll(String)
 o toUpperCaseAll(ZString)
 o toUpperCaseAllBut(char)
 o toUpperCaseAllBut(String)
 o toUpperCaseAllBut(ZString)
 o toZString()
 o trim()
 o validate(ZString)
 o validate(ZString, ZString)
 o validate(ZString, ZString, char)
 o validate(ZString, ZString, char, boolean)
 o valueOf(boolean)
 o valueOf(char)
 o valueOf(char[])
 o valueOf(char[], int, int)
 o valueOf(double)
 o valueOf(float)
 o valueOf(int)
 o valueOf(long)
 o valueOf(Object)
 o valueOf(String)

Constructors

 o ZString
 public ZString(ZString value)
 o ZString
 public ZString(String value)
 o ZString
 public ZString(char value[])
 o ZString
 public ZString(char value[],
                int offset,
                int count)
 o ZString
 public ZString(byte ascii[],
                int hibyte,
                int offset,
                int count)
 o ZString
 public ZString(byte ascii[],
                int hibyte)
 o ZString
 public ZString(StringBuffer buffer)
 o ZString
 public ZString()

Methods

 o length
 public int length()
 o charAt
 public char charAt(int index)
 o getChars
 public void getChars(int srcBegin,
                      int srcEnd,
                      char dst[],
                      int dstBegin)
 o getBytes
 public void getBytes(int srcBegin,
                      int srcEnd,
                      byte dst[],
                      int dstBegin)
 o equals
 public boolean equals(Object anObject)
Overrides:
equals in class Object
 o equalsIgnoreCase
 public boolean equalsIgnoreCase(ZString anotherString)
 o compareTo
 public int compareTo(ZString anotherString)
 o regionMatches
 public boolean regionMatches(int toffset,
                              ZString other,
                              int ooffset,
                              int len)
 o regionMatches
 public boolean regionMatches(boolean ignoreCase,
                              int toffset,
                              ZString other,
                              int ooffset,
                              int len)
 o startsWith
 public boolean startsWith(ZString prefix,
                           int toffset)
 o startsWith
 public boolean startsWith(ZString prefix)
 o endsWith
 public boolean endsWith(ZString suffix)
 o hashCode
 public int hashCode()
Overrides:
hashCode in class Object
 o indexOf
 public int indexOf(int ch)
 o indexOf
 public int indexOf(int ch,
                    int fromIndex)
 o lastIndexOf
 public int lastIndexOf(int ch)
 o lastIndexOf
 public int lastIndexOf(int ch,
                        int fromIndex)
 o indexOf
 public int indexOf(String str)
 o indexOf
 public int indexOf(String str,
                    int fromIndex)
 o lastIndexOf
 public int lastIndexOf(String str)
 o lastIndexOf
 public int lastIndexOf(String str,
                        int fromIndex)
 o substring
 public ZString substring(int beginIndex)
 o substring
 public ZString substring(int beginIndex,
                          int endIndex)
 o concat
 public ZString concat(String str)
 o replace
 public ZString replace(char oldChar,
                        char newChar)
 o toLowerCase
 public ZString toLowerCase()
 o toUpperCase
 public ZString toUpperCase()
 o trim
 public ZString trim()
 o toString
 public String toString()
Overrides:
toString in class Object
 o toCharArray
 public char[] toCharArray()
 o valueOf
 public static ZString valueOf(Object obj)
 o valueOf
 public static ZString valueOf(char data[])
 o valueOf
 public static ZString valueOf(char data[],
                               int offset,
                               int count)
 o copyValueOf
 public static ZString copyValueOf(char data[],
                                   int offset,
                                   int count)
 o copyValueOf
 public static ZString copyValueOf(char data[])
 o valueOf
 public static ZString valueOf(boolean b)
 o valueOf
 public static ZString valueOf(char c)
 o valueOf
 public static ZString valueOf(int i)
 o valueOf
 public static ZString valueOf(long l)
 o valueOf
 public static ZString valueOf(float f)
 o valueOf
 public static ZString valueOf(double d)
 o intern
 public ZString intern()
 o toZString
 public ZString toZString()
 o valueOf
 public static ZString valueOf(String s)
 o firstChar
 public char firstChar()
 o lastChar
 public char lastChar()
 o nChars
 public ZString nChars(int n,
                       int pos)
 o firstNChars
 public ZString firstNChars(int n)
 o lastNChars
 public ZString lastNChars(int n)
 o firstHalf
 public ZString firstHalf()
 o secondHalf
 public ZString secondHalf()
 o isCharAt
 public boolean isCharAt(char c,
                         int pos)
 o isSpaceAt
 public boolean isSpaceAt(int pos)
 o isNewlineAt
 public boolean isNewlineAt(int pos)
 o isQuoteAt
 public boolean isQuoteAt(int pos)
 o clear
 public void clear()
 o set
 public void set(String s)
 o set
 public void set(ZString s)
 o set
 public void set(char c)
 o add
 public void add(String s)
 o add
 public void add(ZString s)
 o add
 public void add(char c)
 o addChar
 public void addChar(char c)
 o addNChars
 public void addNChars(int n,
                       char c)
 o plus
 public void plus(String s)
 o plus
 public void plus(ZString s)
 o plus
 public void plus(char c)
 o plusChar
 public void plusChar(char c)
 o plusNChars
 public void plusNChars(int n,
                        char c)
 o append
 public void append(String s)
 o append
 public void append(ZString s)
 o append
 public void append(char c)
 o appendChar
 public void appendChar(char c)
 o appendNChars
 public void appendNChars(int n,
                          char c)
 o subtract
 public void subtract(String s)
 o subtract
 public void subtract(ZString s)
 o subtract
 public void subtract(char c)
 o subtractChar
 public void subtractChar(char c)
 o minus
 public void minus(String s)
 o minus
 public void minus(ZString s)
 o minus
 public void minus(char c)
 o minusChar
 public void minusChar(char c)
 o insert
 public void insert(String s,
                    int pos)
 o insert
 public void insert(String s)
 o insert
 public void insert(ZString s,
                    int pos)
 o insert
 public void insert(ZString s)
 o insert
 public void insert(char c,
                    int pos)
 o insert
 public void insert(char c)
 o insertChar
 public void insertChar(char c,
                        int pos)
 o insertChar
 public void insertChar(char c)
 o insertNChars
 public void insertNChars(int n,
                          char c,
                          int pos)
 o insertNChars
 public void insertNChars(int n,
                          char c)
 o insertNewlineChar
 public void insertNewlineChar(int pos)
 o insertNewlineChar
 public void insertNewlineChar()
 o insertQuotes
 public void insertQuotes()
 o hasQuotes
 public boolean hasQuotes()
 o deleteQuotes
 public boolean deleteQuotes()
 o insertParenthesis
 public void insertParenthesis()
 o hasParenthesis
 public boolean hasParenthesis()
 o deleteParenthesis
 public boolean deleteParenthesis()
 o deleteNChars
 public void deleteNChars(int n,
                          int pos)
 o deleteNChars
 public void deleteNChars(int n)
 o deleteFirstNChars
 public void deleteFirstNChars(int n)
 o deleteFirstChar
 public void deleteFirstChar()
 o deleteFirstCharIf
 public void deleteFirstCharIf(char c)
 o deleteChar
 public void deleteChar(int pos)
 o deleteChar
 public void deleteChar()
 o deleteCharIf
 public void deleteCharIf(int pos,
                          char c)
 o deleteLastNChars
 public void deleteLastNChars(int n)
 o deleteLastChar
 public void deleteLastChar()
 o deleteLastCharIf
 public void deleteLastCharIf(char c)
 o deleteLastCharIfNewline
 public void deleteLastCharIfNewline()
 o deleteTailUntil
 public void deleteTailUntil(char c)
 o deleteTailUntilNot
 public void deleteTailUntilNot(char c)
 o deleteHeadUntil
 public void deleteHeadUntil(char c)
 o deleteHeadUntilNot
 public void deleteHeadUntilNot(char c)
 o deleteAll
 public void deleteAll(String s)
 o deleteAll
 public void deleteAll(ZString s)
 o deleteAll
 public void deleteAll(char c)
 o deleteAllSpaces
 public void deleteAllSpaces()
 o deleteAllNewlines
 public void deleteAllNewlines()
 o deleteAllQuotes
 public void deleteAllQuotes()
 o deleteAllBut
 public void deleteAllBut(String s)
 o deleteAllBut
 public void deleteAllBut(ZString s)
 o toUpperCaseAll
 public void toUpperCaseAll(String s)
 o toUpperCaseAll
 public void toUpperCaseAll(ZString s)
 o toUpperCaseAll
 public void toUpperCaseAll(char c)
 o toLowerCaseAll
 public void toLowerCaseAll(String s)
 o toLowerCaseAll
 public void toLowerCaseAll(ZString s)
 o toLowerCaseAll
 public void toLowerCaseAll(char c)
 o toUpperCaseAllBut
 public void toUpperCaseAllBut(String s)
 o toUpperCaseAllBut
 public void toUpperCaseAllBut(ZString s)
 o toUpperCaseAllBut
 public void toUpperCaseAllBut(char c)
 o toLowerCaseAllBut
 public void toLowerCaseAllBut(String s)
 o toLowerCaseAllBut
 public void toLowerCaseAllBut(ZString s)
 o toLowerCaseAllBut
 public void toLowerCaseAllBut(char c)
 o shiftLeft
 public void shiftLeft()
 o shiftLeft
 public void shiftLeft(char c)
 o shiftRight
 public void shiftRight()
 o shiftRight
 public void shiftRight(char c)
 o rotateLeft
 public void rotateLeft()
 o rotateRight
 public void rotateRight()
 o reverse
 public void reverse()
 o fillWithNChars
 public void fillWithNChars(int n,
                            char c)
 o fillWithChars
 public void fillWithChars(char c)
 o shorten
 public void shorten(int pos)
 o compact
 public void compact(int pos)
 o arrange
 public void arrange()
 o validate
 public int validate(ZString invalidValues,
                     ZString defaultValue,
                     char separatorChar,
                     boolean ignoreCase)
 o validate
 public int validate(ZString invalidValues,
                     ZString defaultValue,
                     char separatorChar)
 o validate
 public int validate(ZString invalidValues,
                     ZString defaultValue)
 o validate
 public int validate(ZString invalidValues)
 o check
 public int check(ZString invalidValues,
                  char separatorChar,
                  boolean ignoreCase)
 o check
 public int check(ZString invalidValues,
                  char separatorChar)
 o check
 public int check(ZString invalidValues)
 o findADigit
 public int findADigit()
 o findButADigit
 public int findButADigit()
 o countOccurences
 public int countOccurences(char c)
 o countOccurences
 public int countOccurences(String s)
 o countOccurences
 public int countOccurences(ZString s)
 o findNearestCharAtLeft
 public int findNearestCharAtLeft(char c,
                                  int pos)
 o findNearestCharAtRight
 public int findNearestCharAtRight(char c,
                                   int pos)
 o findNearestCharAtBeginning
 public int findNearestCharAtBeginning(char c)
 o findNearestCharAtEnd
 public int findNearestCharAtEnd(char c)
 o findNearestCharAt
 public int findNearestCharAt(char c,
                              int pos)
 o findNearestDifferentCharAtLeft
 public int findNearestDifferentCharAtLeft(char c,
                                           int pos)
 o findNearestDifferentCharAtRight
 public int findNearestDifferentCharAtRight(char c,
                                            int pos)
 o findNearestDifferentCharAtBeginning
 public int findNearestDifferentCharAtBeginning(char c)
 o findNearestDifferentCharAtEnd
 public int findNearestDifferentCharAtEnd(char c)
 o findNearestDifferentCharAt
 public int findNearestDifferentCharAt(char c,
                                       int pos)