Package org.apache.felix.gogo.command
Class Files
- java.lang.Object
-
- org.apache.felix.gogo.command.Files
-
public class Files extends 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 Filecd(org.apache.felix.service.command.CommandSession session)Filecd(org.apache.felix.service.command.CommandSession session, String dir)static booleancompareSubstring(List<String> pieces, String s)File[]ls(org.apache.felix.service.command.CommandSession session)File[]ls(org.apache.felix.service.command.CommandSession session, String pattern)static List<String>parseSubstring(String value)
-
-
-
Method Detail
-
cd
public File cd(org.apache.felix.service.command.CommandSession session)
-
cd
public File cd(org.apache.felix.service.command.CommandSession session, String dir) throws IOException
- Throws:
IOException
-
ls
public File[] ls(org.apache.felix.service.command.CommandSession session) throws IOException
- Throws:
IOException
-
ls
public File[] ls(org.apache.felix.service.command.CommandSession session, String pattern) throws IOException
- Throws:
IOException
-
-