| Modifier and Type | Method and Description |
|---|---|
StringGrabber |
StringGrabber.append(String str)
append string
|
StringGrabber |
StringGrabber.appendRepeat(String str,
int repeatCount)
Append a string to be repeated
|
StringGrabber |
StringGrabber.carryHead(int charCount)
To leave N character from head , cut off the rest
|
StringGrabber |
StringGrabber.carryTail(int charCount)
To leave the tail of the N character , cut off the rest
|
StringGrabber |
StringGrabber.copy() |
StringGrabber |
StringGrabberList.get(int index)
returns a StringGrabber value specified by index
even if index is less than 0 or index is beyond the size of list, safely returns the empty string. |
StringGrabber |
StringGrabberList.getFirst()
returns the get first value
|
StringGrabber |
StringGrabberList.getLast()
returns the last value
|
StringGrabber |
StringGrabber.getLastPartsSeparatedBy(String separator)
returns the last part that was separated by the specified string
|
StringGrabber |
StringGrabberList.getSecond()
returns the get second value
|
StringGrabber |
StringGrabber.getStringEnclosedInFirst(String startToken,
String endToken)
returns the first one that enclosed in specific tokens found in the
source string.
|
StringGrabber |
StringGrabber.insertIntoHead(String str)
Insert string into the first
|
StringGrabber |
StringGrabber.insertRepeat(String str,
int repeatCount)
Append a string to be repeated into head
|
StringGrabber |
StringGrabber.left(int charCount)
returns a new string that is a substring of this string from left.
|
StringGrabber |
StringGrabber.newLine()
append new line to the String
|
StringGrabber |
StringGrabber.removeHead(int cnt)
remove from first
|
StringGrabber |
StringGrabber.removeTail()
remove last char
|
StringGrabber |
StringGrabber.removeTail(int cnt)
remove from tail
|
StringGrabber |
StringGrabber.replace(String target,
String replacement)
replace specified string
|
StringGrabber |
StringGrabber.replaceEnclosedIn(String startToken,
String endToken,
String replacement)
replace specified string enclosed in speficied token
|
StringGrabber |
StringGrabber.replaceFirstToLowerCase()
convert first char to lower case
|
StringGrabber |
StringGrabber.replaceFirstToUpperCase()
convert first char to upper case
|
StringGrabber |
StringGrabber.replaceToLowerCase(int pos)
convert string in the specified position to lower case
|
StringGrabber |
StringGrabber.replaceToLowerCase(int startPos,
int endPos)
convert string in the specified position(range) to lower case
|
StringGrabber |
StringGrabber.replaceToUpperCase(int pos)
convert string in the specified position to upper case
|
StringGrabber |
StringGrabber.replaceToUpperCase(int startPos,
int endPos)
convert string in the specified position(range) to upper case
|
StringGrabber |
StringGrabber.right(int charCount)
returns a new string that is a substring of this string from right.
|
StringGrabber |
StringGrabber.set(String str)
set new source of string to this class
|
StringGrabber |
StringGrabber.set(StringBuilder stringBuilder)
set new source of stringbuilder to this class
|
StringGrabber |
StringGrabber.substring(int startIdx,
int endIndex)
returns substring specified with start index and endIndex
|
StringGrabber |
StringGrabber.toLowerCase()
conver all chars to lower case
|
StringGrabber |
StringGrabber.toUpperCase()
conver all chars to upper case
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
StringGrabber.equals(StringGrabber sg)
Compares this object to the specified object.
|
| Constructor and Description |
|---|
StringGrabber(StringGrabber sg) |
Copyright © 2015. All rights reserved.