org.apache.felix.gogo.shell
Class Posix

java.lang.Object
  extended by org.apache.felix.gogo.shell.Posix

public class Posix
extends java.lang.Object

Posix-like utilities.

See Also:
http://www.opengroup.org/onlinepubs/009695399/utilities/contents.html

Constructor Summary
Posix()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Posix

public Posix()
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


Copyright © 2012. All Rights Reserved.