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
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/ The names of this files are available after withgetUpdateFiles(). - 
Method Summary
Modifier and TypeMethodDescriptionprotected org.jsoup.nodes.Documentprotected voidChanges list.Update ZIP files, stored inUtils.getTmpDir() 
- 
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
Changes list. EachIdStringTitlehas numeric change ID and ID plus file modification time in title.- Returns:
 
 - 
getUpdateFiles
Update ZIP files, stored inUtils.getTmpDir()- Returns:
 
 
 -