org.apache.felix.gogo.command
Class Files

java.lang.Object
  extended by org.apache.felix.gogo.command.Files

public class Files
extends Object


Constructor Summary
Files(BundleContext bc)
           
 
Method Summary
 File cd(CommandSession session)
           
 File cd(CommandSession session, String dir)
           
static boolean compareSubstring( pieces, String s)
           
 File[] ls(CommandSession session)
           
 File[] ls(CommandSession session, String pattern)
           
static  parseSubstring(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(BundleContext bc)
Method Detail

cd

public File cd(CommandSession session)

cd

public File cd(CommandSession session,
               String dir)
        throws IOException
Throws:
IOException

ls

public File[] ls(CommandSession session)
          throws IOException
Throws:
IOException

ls

public File[] ls(CommandSession session,
                 String pattern)
          throws IOException
Throws:
IOException

parseSubstring

public static  parseSubstring(String value)

compareSubstring

public static boolean compareSubstring( pieces,
                                       String s)


Copyright © 2011 Apache Software Foundation. All Rights Reserved.