Package org.apache.felix.gogo.command
Class Files
- java.lang.Object
-
- org.apache.felix.gogo.command.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)
-
-
-
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)
-
-