|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjsky.util.JarManager
public final class JarManager
Jar file manager: keep jar files up to date with copies on a given remote server.
Constructor Summary | |
---|---|
JarManager()
|
Method Summary | |
---|---|
void |
JarManager()
|
static void |
main(String[] args)
main: usage: java |
void |
show(OutputStream out)
Print a description of the jar files in the class path to the given stream. |
void |
show(String fileName)
Print a description of the jar files in the class path to the given file. |
void |
update(String baseURL,
String fileName)
Update the jar files in the class path by comparing the current jar file versions with ones described under baseURL/filename. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JarManager()
Method Detail |
---|
public void JarManager()
public void show(OutputStream out) throws IOException
out
- write the jar file information to this stream
IOException
public void show(String fileName)
fileName
- the name of the properties file in which to store the jar file descriptionspublic void update(String baseURL, String fileName)
baseURL
- the base URL for downloading jar files and the given fileNamefileName
- the base name of the properties file describing the jar files on the serverpublic static void main(String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |