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 voidcopy(InputStream is, File dir, String destName, String destDir, byte[] buffer) voidstatic voiddownloadSource(PrintStream out, PrintStream err, URL srcURL, File localDir, boolean extract) static StringgetUnderlineString(int len) voidvoidvoidvoidstatic voidsetProxyAuth(URLConnection conn) voidstatic voidunjar(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:
IOExceptionorg.osgi.framework.InvalidSyntaxException
-
info
- Throws:
IOExceptionorg.osgi.framework.InvalidSyntaxException
-
deploy
public void deploy(boolean start, boolean requiredOnly, String[] args) throws IOException, org.osgi.framework.InvalidSyntaxException - Throws:
IOExceptionorg.osgi.framework.InvalidSyntaxException
-
source
public void source(boolean extract, File localDir, String[] args) throws IOException, org.osgi.framework.InvalidSyntaxException - Throws:
IOExceptionorg.osgi.framework.InvalidSyntaxException
-
javadoc
public void javadoc(boolean extract, File localDir, String[] args) throws IOException, org.osgi.framework.InvalidSyntaxException - Throws:
IOExceptionorg.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
-