public class Files extends Object
| Constructor and Description |
|---|
Files(org.osgi.framework.BundleContext bc) |
| Modifier and Type | Method and Description |
|---|---|
File |
cd(org.apache.felix.service.command.CommandSession session) |
File |
cd(org.apache.felix.service.command.CommandSession session,
String dir) |
static boolean |
compareSubstring(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) |
public File cd(org.apache.felix.service.command.CommandSession session)
public File cd(org.apache.felix.service.command.CommandSession session, String dir) throws IOException
IOExceptionpublic File[] ls(org.apache.felix.service.command.CommandSession session) throws IOException
IOExceptionpublic File[] ls(org.apache.felix.service.command.CommandSession session, String pattern) throws IOException
IOExceptionCopyright © 2006–2020 The Apache Software Foundation. All rights reserved.