bee.util
Inputs
Inputs()
progress(psychopath.Locationtarget, StringprogressMessage, StringcompleteMessage)kiss.Observerpsychopath.Progress
psychopath.Locationtarget, StringprogressMessage, StringcompleteMessage)psychopath.Progresspsychopath.Locationtarget |
|
StringprogressMessage |
|
StringcompleteMessage |
|
kiss.Observer |
formatAsSize(longbytes)String
longbytes)longbytes |
|
String |
Format as human-readable size.
formatAsSize(longbytes, booleanunit)String
longbytes, booleanunit)longbytes |
|
booleanunit |
|
String |
Format as human-readable size.
template(Stringtemplate, Objectcontext)String
Stringtemplate, Objectcontext)Stringtemplate |
|
Objectcontext |
|
String |
Bee template helper.
templates(Stringtemplate, Objectcontext)ListString
Stringtemplate, Objectcontext)StringStringtemplate |
|
Objectcontext |
|
List |
Bee template helper.
normalize(SourceVersionversion)String
SourceVersionversion)SourceVersionversion |
A target version. |
String |
A version number. |
Normalize SourceVersion to human-readable version number.
capitalize(Stringinput)String
Stringinput)Stringinput |
A user input. |
String |
A capitalized input. |
Capitalize user input.
hyphenize(Stringinput)String
Stringinput)Stringinput |
A user input. |
String |
A hyphenized input. |
Hyphenize user input.
recommend(Stringinput, CollectionStringcandidates)String
Stringinput, CollectionStringcandidates)Stringinput |
|
Collectioncandidates |
|
String |
Selects the string that most closely resembles the specified string from a list of candidates.
ref(Stringfile)CharSequence
Stringfile)Stringfile |
A path to the target text file. |
CharSequence |
A file contents. |
Return the reference of the specified file's text.
ref(Pathfile)CharSequence
Pathfile)Pathfile |
A target text file. |
CharSequence |
A file contents. |
Return the reference of the specified file's text.
ref(psychopath.Filefile)CharSequence
psychopath.Filefile)psychopath.Filefile |
A target text file. |
CharSequence |
A file contents. |
Return the reference of the specified file's text.