public class Posix extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
Posix.HelpException |
static class |
Posix.SortComparator |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_GREP_COLORS |
static String |
DEFAULT_LS_COLORS |
Constructor and Description |
---|
Posix(org.apache.felix.service.command.CommandProcessor processor) |
Modifier and Type | Method and Description |
---|---|
void |
_main(org.apache.felix.service.command.CommandSession session,
String[] argv) |
protected void |
cat(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Process process,
String[] argv) |
protected void |
cd(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Process process,
String[] argv) |
protected void |
clear(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Process process,
String[] argv) |
protected void |
date(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Process process,
String[] argv) |
protected void |
echo(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Process process,
Object[] argv) |
protected String |
get(org.apache.felix.service.command.CommandSession session,
String name) |
static Map<String,String> |
getColorMap(org.apache.felix.service.command.CommandSession session,
String name,
String def) |
static Map<String,String> |
getLsColorMap(org.apache.felix.service.command.CommandSession session) |
protected void |
grep(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Process process,
String[] argv) |
protected void |
head(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Process process,
String[] argv) |
protected void |
less(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Process process,
String[] argv) |
protected void |
ls(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Process process,
String[] argv) |
protected void |
nano(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Process process,
String[] argv) |
protected org.jline.builtins.Options |
parseOptions(org.apache.felix.service.command.CommandSession session,
String[] usage,
Object[] argv) |
protected void |
pwd(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Process process,
String[] argv) |
protected static void |
read(BufferedReader r,
List<String> lines) |
protected Object |
run(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Process process,
String[] argv) |
protected void |
sleep(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Process process,
String[] argv) |
protected void |
sort(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Process process,
String[] argv) |
protected void |
tail(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Process process,
String[] argv) |
protected void |
tmux(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Process process,
String[] argv) |
protected void |
ttop(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Process process,
String[] argv) |
protected void |
watch(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Process process,
String[] argv) |
protected void |
wc(org.apache.felix.service.command.CommandSession session,
org.apache.felix.service.command.Process process,
String[] argv) |
public static final String DEFAULT_LS_COLORS
public static final String DEFAULT_GREP_COLORS
public void _main(org.apache.felix.service.command.CommandSession session, String[] argv)
protected org.jline.builtins.Options parseOptions(org.apache.felix.service.command.CommandSession session, String[] usage, Object[] argv) throws Exception
Exception
protected Object run(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Process process, String[] argv) throws Exception
Exception
protected void date(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Process process, String[] argv) throws Exception
Exception
protected void wc(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Process process, String[] argv) throws Exception
Exception
protected void head(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Process process, String[] argv) throws Exception
Exception
protected void tail(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Process process, String[] argv) throws Exception
Exception
protected void clear(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Process process, String[] argv) throws Exception
Exception
protected void tmux(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Process process, String[] argv) throws Exception
Exception
protected void ttop(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Process process, String[] argv) throws Exception
Exception
protected void nano(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Process process, String[] argv) throws Exception
Exception
protected void watch(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Process process, String[] argv) throws Exception
Exception
protected void less(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Process process, String[] argv) throws Exception
Exception
protected void sort(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Process process, String[] argv) throws Exception
Exception
protected void pwd(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Process process, String[] argv) throws Exception
Exception
protected void cd(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Process process, String[] argv) throws Exception
Exception
protected void ls(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Process process, String[] argv) throws Exception
Exception
protected void cat(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Process process, String[] argv) throws Exception
Exception
protected void echo(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Process process, Object[] argv) throws Exception
Exception
protected void grep(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Process process, String[] argv) throws Exception
Exception
protected void sleep(org.apache.felix.service.command.CommandSession session, org.apache.felix.service.command.Process process, String[] argv) throws Exception
Exception
protected static void read(BufferedReader r, List<String> lines) throws IOException
IOException
public static Map<String,String> getLsColorMap(org.apache.felix.service.command.CommandSession session)
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.