bee

bee.util

Inputs

Inputs()

progress(psychopath.Locationtarget, StringprogressMessage, StringcompleteMessage)kiss.Observerpsychopath.Progress

psychopath.Locationtarget
StringprogressMessage
StringcompleteMessage
kiss.Observerpsychopath.Progress

formatAsSize(longbytes)String

longbytes
String

Format as human-readable size.

formatAsSize(longbytes, booleanunit)String

longbytes
booleanunit
String

Format as human-readable size.

template(Stringtemplate, Objectcontext)String

Stringtemplate
Objectcontext
String

Bee template helper.

templates(Stringtemplate, Objectcontext)ListString

Stringtemplate
Objectcontext
ListString

Bee template helper.

normalize(SourceVersionversion)String

SourceVersionversion

A target version.

String

A version number.

Normalize SourceVersion to human-readable version number.

capitalize(Stringinput)String

Stringinput

A user input.

String

A capitalized input.

Capitalize user input.

hyphenize(Stringinput)String

Stringinput

A user input.

String

A hyphenized input.

Hyphenize user input.

recommend(Stringinput, CollectionStringcandidates)String

Stringinput
CollectionStringcandidates
String

Selects the string that most closely resembles the specified string from a list of candidates.

ref(Stringfile)CharSequence

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

A target text file.

CharSequence

A file contents.

Return the reference of the specified file's text.

ref(psychopath.Filefile)CharSequence

psychopath.Filefile

A target text file.

CharSequence

A file contents.

Return the reference of the specified file's text.