Class Files


  • public class Files
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Files​(org.osgi.framework.BundleContext bc)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.File cd​(org.apache.felix.service.command.CommandSession session)  
      java.io.File cd​(org.apache.felix.service.command.CommandSession session, java.lang.String dir)  
      static boolean compareSubstring​(java.util.List<java.lang.String> pieces, java.lang.String s)  
      java.io.File[] ls​(org.apache.felix.service.command.CommandSession session)  
      java.io.File[] ls​(org.apache.felix.service.command.CommandSession session, java.lang.String pattern)  
      static java.util.List<java.lang.String> parseSubstring​(java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Files

        public Files​(org.osgi.framework.BundleContext bc)
    • Method Detail

      • cd

        public java.io.File cd​(org.apache.felix.service.command.CommandSession session)
      • cd

        public java.io.File cd​(org.apache.felix.service.command.CommandSession session,
                               java.lang.String dir)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • ls

        public java.io.File[] ls​(org.apache.felix.service.command.CommandSession session)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • ls

        public java.io.File[] ls​(org.apache.felix.service.command.CommandSession session,
                                 java.lang.String pattern)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseSubstring

        public static java.util.List<java.lang.String> parseSubstring​(java.lang.String value)
      • compareSubstring

        public static boolean compareSubstring​(java.util.List<java.lang.String> pieces,
                                               java.lang.String s)