Class 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)  
      • 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