org.apache.felix.gogo.command
Class Files

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

public class Files
extends java.lang.Object


Constructor Summary
Files(org.osgi.framework.BundleContext bc)
           
 
Method Summary
 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)


Copyright © 2012. All Rights Reserved.