public class ObrGogoCommand extends Object
Constructor | Description |
---|---|
ObrGogoCommand(org.osgi.framework.BundleContext bc,
RepositoryAdmin repositoryAdmin) |
Modifier and Type | Method | Description |
---|---|---|
static void |
copy(InputStream is,
File dir,
String destName,
String destDir,
byte[] buffer) |
|
void |
deploy(boolean start,
boolean requiredOnly,
String[] args) |
|
static void |
downloadSource(PrintStream out,
PrintStream err,
URL srcURL,
File localDir,
boolean extract) |
|
static String |
getUnderlineString(int len) |
|
void |
info(String[] args) |
|
void |
javadoc(boolean extract,
File localDir,
String[] args) |
|
void |
list(boolean verbose,
String[] args) |
|
void |
repos(String action,
String[] args) |
|
static void |
setProxyAuth(URLConnection conn) |
|
void |
source(boolean extract,
File localDir,
String[] args) |
|
static void |
unjar(JarInputStream jis,
File dir) |
public ObrGogoCommand(org.osgi.framework.BundleContext bc, RepositoryAdmin repositoryAdmin)
public void repos(String action, String[] args) throws IOException
IOException
public void list(boolean verbose, String[] args) throws IOException, org.osgi.framework.InvalidSyntaxException
IOException
org.osgi.framework.InvalidSyntaxException
public void info(String[] args) throws IOException, org.osgi.framework.InvalidSyntaxException
IOException
org.osgi.framework.InvalidSyntaxException
public void deploy(boolean start, boolean requiredOnly, String[] args) throws IOException, org.osgi.framework.InvalidSyntaxException
IOException
org.osgi.framework.InvalidSyntaxException
public void source(boolean extract, File localDir, String[] args) throws IOException, org.osgi.framework.InvalidSyntaxException
IOException
org.osgi.framework.InvalidSyntaxException
public void javadoc(boolean extract, File localDir, String[] args) throws IOException, org.osgi.framework.InvalidSyntaxException
IOException
org.osgi.framework.InvalidSyntaxException
public static String getUnderlineString(int len)
public static void downloadSource(PrintStream out, PrintStream err, URL srcURL, File localDir, boolean extract)
public static void setProxyAuth(URLConnection conn) throws IOException
IOException
public static void unjar(JarInputStream jis, File dir) throws IOException
IOException
public static void copy(InputStream is, File dir, String destName, String destDir, byte[] buffer) throws IOException
IOException
Copyright © 2018. All rights reserved.