Package net.thevpc.naru.impl.util
Class NaruUtils
java.lang.Object
net.thevpc.naru.impl.util.NaruUtils
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringabbreviate(String s, int max) static voidcheckValidRoutineName(String text) static net.thevpc.nuts.text.NTextformattedTokensSize(long cl) static booleanstatic booleanisValidRoutineName(String text) static voidlogWebRequest(net.thevpc.nuts.net.NWebRequest request, net.thevpc.nuts.text.NMsg text, Object input) static voidlogWebResponse(net.thevpc.nuts.net.NWebRequest request, net.thevpc.nuts.text.NMsg text, Object input, Object output, net.thevpc.nuts.time.NChronometer chronometer) parseEnv(net.thevpc.nuts.elem.NElement aa) static List<NaruUtils.LineRange>parseRanges(net.thevpc.nuts.cmdline.NCmdLine cmdLine) resolveIndexes(NaruUtils.LineRange[] ranges, int count) static voidstatic voidshowItemsWithFormat(String context2, String format, List<NaruUtils.LineRange> ranges, NaruTask task) static Stringstatic Stringstatic String
-
Constructor Details
-
NaruUtils
public NaruUtils()
-
-
Method Details
-
checkValidRoutineName
-
isValidRoutineName
-
stripAnsi
-
parseEnv
-
parseEnv
-
abbreviate
-
logWebRequest
public static void logWebRequest(net.thevpc.nuts.net.NWebRequest request, net.thevpc.nuts.text.NMsg text, Object input) -
logWebResponse
-
showItems
-
isPath
-
snippet
-
resolveIndexes
-
parseRanges
-
formattedTokensSize
public static net.thevpc.nuts.text.NText formattedTokensSize(long cl) -
showItemsWithFormat
public static void showItemsWithFormat(String context2, String format, List<NaruUtils.LineRange> ranges, NaruTask task) -
timeAgo
-