bee.util
Inputs
Inputs
()
progress
(psychopath.Location
target
, String
progressMessage
, String
completeMessage
)
kiss.Observerpsychopath.Progress
psychopath.Location
target
, String
progressMessage
, String
completeMessage
)psychopath.Progress
psychopath.Location target |
|
String progressMessage |
|
String completeMessage |
|
kiss.Observer |
formatAsSize
(long
bytes
)
String
long
bytes
)long bytes |
|
String |
Format as human-readable size.
formatAsSize
(long
bytes
, boolean
unit
)
String
long
bytes
, boolean
unit
)long bytes |
|
boolean unit |
|
String |
Format as human-readable size.
template
(String
template
, Object
context
)
String
String
template
, Object
context
)String template |
|
Object context |
|
String |
Bee template helper.
templates
(String
template
, Object
context
)
ListString
String
template
, Object
context
)String
String template |
|
Object context |
|
List |
Bee template helper.
normalize
(SourceVersion
version
)
String
SourceVersion
version
)SourceVersion version |
A target version. |
String |
A version number. |
Normalize SourceVersion
to human-readable version number.
capitalize
(String
input
)
String
String
input
)String input |
A user input. |
String |
A capitalized input. |
Capitalize user input.
hyphenize
(String
input
)
String
String
input
)String input |
A user input. |
String |
A hyphenized input. |
Hyphenize user input.
recommend
(String
input
, CollectionString
candidates
)
String
String
input
, CollectionString
candidates
)String input |
|
Collection candidates |
|
String |
Selects the string that most closely resembles the specified string from a list of candidates.
ref
(String
file
)
CharSequence
String
file
)String file |
A path to the target text file. |
CharSequence |
A file contents. |
Return the reference of the specified file's text.
ref
(Path
file
)
CharSequence
Path
file
)Path file |
A target text file. |
CharSequence |
A file contents. |
Return the reference of the specified file's text.
ref
(psychopath.File
file
)
CharSequence
psychopath.File
file
)psychopath.File file |
A target text file. |
CharSequence |
A file contents. |
Return the reference of the specified file's text.