Class InstallerChanges
java.lang.Object
org.bgerp.app.dist.inst.InstallerChanges
Parse changes info out of NGINX directory listing HTML
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor loads list of changes, directory names underUPDATE_TO_CHANGE_URL.InstallerChanges(String changeId) Constructor downloads update files fromUPDATE_TO_CHANGE_URL/ . -
Method Summary
Modifier and TypeMethodDescriptionprotected org.jsoup.nodes.Documentprotected void
-
Field Details
-
UPDATE_TO_CHANGE_URL
-
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:
IOExceptionParseException
-
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:
IOExceptionURISyntaxException
-
-
Method Details
-
changes
- Throws:
IOException
-
download
- Throws:
IOExceptionURISyntaxException
-
getChanges
- Returns:
- changes list, each
IdStringTitlehas numeric change ID and ID plus file modification time in title
-
getUpdateFiles
- Returns:
- update ZIP files, stored in
Utils.getTmpDir()
-