Package org.bgerp.app.dist.inst
Class InstallerChanges
java.lang.Object
org.bgerp.app.dist.inst.InstallerChanges
Parse changes info out of NGINX directory listing HTML.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstructor loads list of changes, directory names underUPDATE_TO_CHANGE_URL
.InstallerChanges
(String changeId) Constructor downloads update files fromUPDATE_TO_CHANGE_URL
/ The names of this files are available after withgetUpdateFiles()
. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.jsoup.nodes.Document
protected void
Changes list.Update ZIP files, stored inUtils.getTmpDir()
-
Field Details
-
UPDATE_TO_CHANGE_URL
- See Also:
-
MASTER_RELEASE_CHANGE_ID
- See Also:
-
-
Constructor Details
-
InstallerChanges
Constructor loads list of changes, directory names underUPDATE_TO_CHANGE_URL
. The result is available after usinggetChanges()
.- Throws:
IOException
ParseException
-
InstallerChanges
Constructor downloads update files fromUPDATE_TO_CHANGE_URL
/ The names of this files are available after withgetUpdateFiles()
.- Parameters:
changeId
- string with directory name.- Throws:
IOException
URISyntaxException
-
-
Method Details
-
changes
- Throws:
IOException
-
download
- Throws:
IOException
URISyntaxException
-
getChanges
Changes list. EachIdStringTitle
has numeric change ID and ID plus file modification time in title.- Returns:
-
getUpdateFiles
Update ZIP files, stored inUtils.getTmpDir()
- Returns:
-