- get(int) - Method in class org.riversun.string_grabber.StringGrabberList
-
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.
- getAfterOf(String, String, boolean) - Method in class org.riversun.string_grabber.StringCropper
-
returns the string that is cropped after token with position-detail-info
Method Example1 tail mode=true,
getAfterOf("AAABCDBCDEEE","BCD",true) returns "EEE"
Method Example2 tail mode=true,
getAfterOf("AAABCDBCDEEE","BCD",true) returns "BCDEEE"
- getAfterOf(String, String) - Method in class org.riversun.string_grabber.StringCropper
-
returns the string that is cropped after token
Method Example,
getAfterOf("AAABCDBCDEEE","BCD") returns"EEE"
- getAfterOfWithDetails(String, String) - Method in class org.riversun.string_grabber.StringCropper
-
returns the string that is cropped after token with position-detail-info
Method Example,
getAfterOfWithDetails("AAABCDBCDEEE","BCD") returns str=EEE,
startIndex=9, endIndex=11
- getAfterOfWithDetails(String, String, boolean) - Method in class org.riversun.string_grabber.StringCropper
-
returns the string that is cropped after token with position-detail-info
Method Example1 tail mode=true,
getAfterOfWithDetails("AAABCDBCDEEE","BCD",true) returns str=EEE,
startIndex=9, endIndex=11
Method Example2 tail mode=true,
getAfterOfWithDetails("AAABCDBCDEEE","BCD",true) returns str=BCDEEE,
startIndex=6, endIndex=11
- getBeforeOf(String, String) - Method in class org.riversun.string_grabber.StringCropper
-
returns the string that is cropped before token with position-detail-info
- getBeforeOfWithDetails(String, String) - Method in class org.riversun.string_grabber.StringCropper
-
returns the string that is cropped before token with position-detail-info
- getFirst() - Method in class org.riversun.string_grabber.StringGrabberList
-
returns the get first value
- getLast() - Method in class org.riversun.string_grabber.StringGrabberList
-
returns the last value
- getLastPartsSeparatedBy(String) - Method in class org.riversun.string_grabber.StringGrabber
-
returns the last part that was separated by the specified string
- getLeftOf(String, int) - Method in class org.riversun.string_grabber.StringCropper
-
Returns the number of characters specified from left
- getRightOf(String, int) - Method in class org.riversun.string_grabber.StringCropper
-
Returns the number of characters specified from right
- getSecond() - Method in class org.riversun.string_grabber.StringGrabberList
-
returns the get second value
- getStringEnclosedIn(String, String, String) - Method in class org.riversun.string_grabber.StringCropper
-
returns all of discovery that enclosed in specific tokens found in the
source string
- getStringEnclosedIn(String, String) - Method in class org.riversun.string_grabber.StringGrabber
-
returns all of discovery that enclosed in specific tokens found in the
source string
- getStringEnclosedInFirst(String, String, String) - Method in class org.riversun.string_grabber.StringCropper
-
returns the first one that enclosed in specific tokens found in the
source string.
- getStringEnclosedInFirst(String, String) - Method in class org.riversun.string_grabber.StringGrabber
-
returns the first one that enclosed in specific tokens found in the
source string.
- getStringEnclosedInFirstWithDetails(String, String, String) - Method in class org.riversun.string_grabber.StringCropper
-
returns the first one that enclosed in specific tokens found in the
source string with position-detail-info
- getStringEnclosedInWithDetails(String, String, String) - Method in class org.riversun.string_grabber.StringCropper
-
returns all of discovery that enclosed in specific tokens found in the
source string with position-detail-info.
- set(String) - Method in class org.riversun.string_grabber.StringGrabber
-
set new source of string to this class
- set(StringBuilder) - Method in class org.riversun.string_grabber.StringGrabber
-
set new source of stringbuilder to this class
- setNewLine(String) - Static method in class org.riversun.string_grabber.StringGrabber
-
set new line char(s) for StringGrabber
- size() - Method in class org.riversun.string_grabber.StringGrabberList
-
returns size of the list
- split(String) - Method in class org.riversun.string_grabber.StringGrabber
-
Splits this string around matches of the given regular expression.
- splitByIndex(String, Integer...) - Method in class org.riversun.string_grabber.StringCropper
-
split string by index[indexes]
Example
#splitByIndex("abcdefghi",2,5) returns
StrPosition [str=abc, startIndex=0, endIndex=2]
StrPosition [str=def, startIndex=3, endIndex=5]
StrPosition [str=ghi, startIndex=6, endIndex=8]
- splitByIndexWithDetail(String, Integer...) - Method in class org.riversun.string_grabber.StringCropper
-
split string by index[indexes]
Example
#splitByIndex("abcdefghi",2,5) returns
StrPosition [str=abc, startIndex=0, endIndex=2]
StrPosition [str=def, startIndex=3, endIndex=5]
StrPosition [str=ghi, startIndex=6, endIndex=8]
- startIndex - Variable in class org.riversun.string_grabber.StringCropper.StrPosition
-
- str - Variable in class org.riversun.string_grabber.StringCropper.StrPosition
-
- stringAt(String, int) - Method in class org.riversun.string_grabber.StringCropper
-
returns string at index
- StringCropper - Class in org.riversun.string_grabber
-
Crop and Cut out the string in a variety of means
- StringCropper() - Constructor for class org.riversun.string_grabber.StringCropper
-
- StringCropper.StrPosition - Class in org.riversun.string_grabber
-
property holder class called position-detail-info contains string and
it's position index.
- StringGrabber - Class in org.riversun.string_grabber
-
String wrapper class easy to manipulate String
To operate followings easily
Partial cutout of string
binding
add
search
conversion
replace
- StringGrabber() - Constructor for class org.riversun.string_grabber.StringGrabber
-
- StringGrabber(String) - Constructor for class org.riversun.string_grabber.StringGrabber
-
- StringGrabber(StringGrabber) - Constructor for class org.riversun.string_grabber.StringGrabber
-
- StringGrabberList - Class in org.riversun.string_grabber
-
List of StringGrabber
- StrPosition() - Constructor for class org.riversun.string_grabber.StringCropper.StrPosition
-
- substring(int, int) - Method in class org.riversun.string_grabber.StringGrabber
-
returns substring specified with start index and endIndex
- tailOf(String, String) - Method in class org.riversun.string_grabber.StringCropper
-
Returns the index within this string of finally found value in the first
discovered string sequence
Method Example,
tailOf("ABABsampletextABAB","AB") returns 2.
(You know, String#indexOf returns 0.)
- toArray() - Method in class org.riversun.string_grabber.StringGrabberList
-
returns values that converted to array of String
- toBoolean(boolean) - Method in class org.riversun.string_grabber.StringGrabber
-
returns boolean value ,when format error occurred ,returns default value
- toDouble(double) - Method in class org.riversun.string_grabber.StringGrabber
-
returns double value ,when format error occurred ,returns default value
- toFloat(float) - Method in class org.riversun.string_grabber.StringGrabber
-
returns float value ,when format error occurred ,returns default value
- toInt(int) - Method in class org.riversun.string_grabber.StringGrabber
-
returns int value ,when format error occurred ,returns default value
- toList() - Method in class org.riversun.string_grabber.StringGrabberList
-
returns values that converted to List
- toLowerCase() - Method in class org.riversun.string_grabber.StringGrabber
-
conver all chars to lower case
- toSgList() - Method in class org.riversun.string_grabber.StringGrabber
-
return what was split by a newline code
- toString() - Method in class org.riversun.string_grabber.StringCropper.StrPosition
-
- toString() - Method in class org.riversun.string_grabber.StringGrabber
-
- toUpperCase() - Method in class org.riversun.string_grabber.StringGrabber
-
conver all chars to upper case