Class ObrGogoCommand
java.lang.Object
org.apache.felix.bundlerepository.impl.ObrGogoCommand
-
Constructor Summary
ConstructorsConstructorDescriptionObrGogoCommand
(org.osgi.framework.BundleContext bc, RepositoryAdmin repositoryAdmin) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
copy
(InputStream is, File dir, String destName, String destDir, byte[] buffer) void
static void
downloadSource
(PrintStream out, PrintStream err, URL srcURL, File localDir, boolean extract) static String
getUnderlineString
(int len) void
void
void
void
static void
setProxyAuth
(URLConnection conn) void
static void
unjar
(JarInputStream jis, File dir)
-
Constructor Details
-
ObrGogoCommand
-
-
Method Details
-
repos
- Throws:
IOException
-
list
public void list(boolean verbose, String[] args) throws IOException, org.osgi.framework.InvalidSyntaxException - Throws:
IOException
org.osgi.framework.InvalidSyntaxException
-
info
- Throws:
IOException
org.osgi.framework.InvalidSyntaxException
-
deploy
public void deploy(boolean start, boolean requiredOnly, String[] args) throws IOException, org.osgi.framework.InvalidSyntaxException - Throws:
IOException
org.osgi.framework.InvalidSyntaxException
-
source
public void source(boolean extract, File localDir, String[] args) throws IOException, org.osgi.framework.InvalidSyntaxException - Throws:
IOException
org.osgi.framework.InvalidSyntaxException
-
javadoc
public void javadoc(boolean extract, File localDir, String[] args) throws IOException, org.osgi.framework.InvalidSyntaxException - Throws:
IOException
org.osgi.framework.InvalidSyntaxException
-
getUnderlineString
-
downloadSource
public static void downloadSource(PrintStream out, PrintStream err, URL srcURL, File localDir, boolean extract) -
setProxyAuth
- Throws:
IOException
-
unjar
- Throws:
IOException
-
copy
public static void copy(InputStream is, File dir, String destName, String destDir, byte[] buffer) throws IOException - Throws:
IOException
-