Package org.apache.felix.gogo.shell
Class Posix
- java.lang.Object
-
- org.apache.felix.gogo.shell.Posix
-
public class Posix extends java.lang.Object
Posix-like utilities.
-
-
Constructor Summary
Constructors Constructor Description Posix()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cat(org.apache.felix.service.command.CommandSession session, java.lang.String[] args)
static void
copy(java.io.InputStream in, java.io.OutputStream out)
static void
copy(java.net.URI source, java.io.OutputStream out)
void
echo(java.lang.Object[] args)
boolean
grep(org.apache.felix.service.command.CommandSession session, java.lang.String[] argv)
-
-
-
Method Detail
-
cat
public void cat(org.apache.felix.service.command.CommandSession session, java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
echo
public void echo(java.lang.Object[] args)
-
grep
public boolean grep(org.apache.felix.service.command.CommandSession session, java.lang.String[] argv) throws java.io.IOException
- Throws:
java.io.IOException
-
copy
public static void copy(java.net.URI source, java.io.OutputStream out) throws java.io.IOException
- Throws:
java.io.IOException
-
copy
public static void copy(java.io.InputStream in, java.io.OutputStream out) throws java.io.IOException
- Throws:
java.io.IOException
-
-