Package org.ctan.site.services.lugs
Class LugsImportService
java.lang.Object
org.ctan.site.services.lugs.LugsImportService
This service deals with the LUG database – Local User's Groups.
-
Constructor Summary
ConstructorsConstructorDescriptionLugsImportService(@NonNull CtanConfiguration.LugsConfig config, @NonNull LugStore store) This is the constructor for the classLugsImportService. -
Method Summary
Modifier and TypeMethodDescriptionvoidupdate()Contact the NTG site to download the LUG database and store the entries in the site database.
-
Constructor Details
-
LugsImportService
public LugsImportService(@NonNull @NonNull CtanConfiguration.LugsConfig config, @NonNull @NonNull LugStore store) This is the constructor for the classLugsImportService.- Parameters:
config- the configurationstore- the store
-
-
Method Details
-
update
public void update() throws MalformedURLException, IOException, NoSuchMethodException, SecurityException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, URISyntaxExceptionContact the NTG site to download the LUG database and store the entries in the site database.- Throws:
IOException- in case of an I/O errorInvocationTargetException- in case of an errorIllegalArgumentException- in case of an errorIllegalAccessException- in case of an errorMalformedURLException- in case of an errorNoSuchMethodException- in case of an errorSecurityException- in case of an errorURISyntaxException- in case of an error
-