Skip navigation links
A C E G I L N O R S T 

A

append(String) - Method in class org.riversun.string_grabber.StringGrabber
append string
appendRepeat(String, int) - Method in class org.riversun.string_grabber.StringGrabber
Append a string to be repeated

C

carryHead(int) - Method in class org.riversun.string_grabber.StringGrabber
To leave N character from head , cut off the rest
carryTail(int) - Method in class org.riversun.string_grabber.StringGrabber
To leave the tail of the N character , cut off the rest
clear() - Method in class org.riversun.string_grabber.StringGrabberList
clear all members of the list
copy() - Method in class org.riversun.string_grabber.StringGrabber
 

E

endIndex - Variable in class org.riversun.string_grabber.StringCropper.StrPosition
 
equals(StringGrabber) - Method in class org.riversun.string_grabber.StringGrabber
Compares this object to the specified object.

G

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.

I

insertIntoHead(String) - Method in class org.riversun.string_grabber.StringGrabber
Insert string into the first
insertRepeat(String, int) - Method in class org.riversun.string_grabber.StringGrabber
Append a string to be repeated into head
isBlank(String) - Method in class org.riversun.string_grabber.StringCropper
return is string null or empty("") char
isEmpty() - Method in class org.riversun.string_grabber.StringGrabber
returns true if and only if length() is 0.
isNotBlank(String) - Method in class org.riversun.string_grabber.StringCropper
return string isn't null or empty("") char
isNotEmpty() - Method in class org.riversun.string_grabber.StringGrabber
returns true if and only if length() is NOT 0.

L

left(int) - Method in class org.riversun.string_grabber.StringGrabber
returns a new string that is a substring of this string from left.
length() - Method in class org.riversun.string_grabber.StringGrabber
 

N

newLine() - Method in class org.riversun.string_grabber.StringGrabber
append new line to the String

O

org.riversun.string_grabber - package org.riversun.string_grabber
 

R

removeHead(String, int) - Method in class org.riversun.string_grabber.StringCropper
Return the rest of the string that is cropped the number of chars from the beginning
removeHead(int) - Method in class org.riversun.string_grabber.StringGrabber
remove N chars from head
removeHeadAndTailChars(char) - Method in class org.riversun.string_grabber.StringGrabber
remove consecutive chars placed at top and tail end.
removeHeadConsecutiveChars(char) - Method in class org.riversun.string_grabber.StringGrabber
remove consecutive chars placed at the head
removeTail(String, int) - Method in class org.riversun.string_grabber.StringCropper
Return the rest of the string that is cropped the number of chars from the end of string
removeTail() - Method in class org.riversun.string_grabber.StringGrabber
remove last char
removeTail(int) - Method in class org.riversun.string_grabber.StringGrabber
remove N chars from tail
removeTailConsecutiveChars(char) - Method in class org.riversun.string_grabber.StringGrabber
remove consecutive chars placed at tail end.
replace(String, String) - Method in class org.riversun.string_grabber.StringGrabber
replace specified string
replaceEnclosedIn(String, String, String) - Method in class org.riversun.string_grabber.StringGrabber
replace specified string enclosed in speficied token
replaceFirstToLowerCase() - Method in class org.riversun.string_grabber.StringGrabber
convert first char to lower case
replaceFirstToUpperCase() - Method in class org.riversun.string_grabber.StringGrabber
convert first char to upper case
replaceToLowerCase(int) - Method in class org.riversun.string_grabber.StringGrabber
convert string in the specified position to lower case
replaceToLowerCase(int, int) - Method in class org.riversun.string_grabber.StringGrabber
convert string in the specified position(range) to lower case
replaceToUpperCase(int) - Method in class org.riversun.string_grabber.StringGrabber
convert string in the specified position to upper case
replaceToUpperCase(int, int) - Method in class org.riversun.string_grabber.StringGrabber
convert string in the specified position(range) to upper case
right(int) - Method in class org.riversun.string_grabber.StringGrabber
returns a new string that is a substring of this string from right.

S

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

T

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
A C E G I L N O R S T 
Skip navigation links

Copyright © 2016. All rights reserved.