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