Package xal.plugin.jelog
Class PostEntry
java.lang.Object
xal.plugin.jelog.PostEntry
Class to submit new entries without a GUI. Useful for applications that
require to log some data regularly in an automatic manner.
- Author:
- Juan F. Esteban Müller <JuanF.EstebanMuller@ess.eu>
-
Field Summary
Fields -
Method Summary
-
Field Details
-
LOGGER
-
-
Method Details
-
setElogServer
-
post
public static int post(Map<String, List<String>> fields, String textBody, String logbook) throws IOException- Throws:
IOException
-
post
public static int post(Map<String, List<String>> fields, String textBody, String logbook, List<eu.ess.jelog.Attachment> attachments) throws IOException- Throws:
IOException
-
login
Login method for recurrent posts- Parameters:
user
- usernamepassword
- password- Returns:
- Throws:
IOException
Exception
MalformedURLException
-
logout
- Throws:
MalformedURLException
-