Class ShellUtils
java.lang.Object
net.thevpc.nsh.util.ShellUtils
- Author:
- thevpc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic StringalignRight(String s, int width) static StringfillString(char x, int width) static StringfillString(String pattern, int width) static booleanstatic booleanisFilePath(String path) static intreadQuotes(char[] chars, int i, StringBuilder v) static StringshellPatternToRegexp(String pattern) static StringsimpexpToRegexp(String pattern) static StringsimpexpToRegexp(String pattern, boolean contains) GLOB (shell wildcards) to regular expression pattern
-
Constructor Details
-
ShellUtils
public ShellUtils()
-
-
Method Details
-
shellPatternToRegexp
-
isEmpty
-
alignLeft
-
alignRight
-
fillString
-
fillString
-
isFilePath
-
simpexpToRegexp
-
simpexpToRegexp
-
readQuotes
-