public class ElogEntry extends Object
| Constructor and Description |
|---|
ElogEntry() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttachment(String name,
byte[] attachmentBytes) |
void |
addFile(String name,
File file) |
void |
addImage(String name,
byte[] imageBytes) |
void |
addTag(String tagName) |
Set<String> |
getAttachments() |
String |
getAuthor() |
String |
getCategory() |
String |
getFormName() |
Set<String> |
getImages() |
static boolean |
isFileImage(String fileName) |
boolean |
isFormatted() |
void |
removeAttachment(String name,
boolean isImage) |
void |
reset() |
void |
setAuthor(String author) |
void |
setCategory(String category) |
void |
setFormatted(boolean formatted) |
void |
setFormField(String fieldName,
String fieldValue) |
void |
setFormName(String formName) |
String |
toXML() |
public void addTag(String tagName)
public void setAuthor(String author)
public void setCategory(String category)
public void setFormatted(boolean formatted)
public void setFormName(String formName)
public void addImage(String name, byte[] imageBytes)
public void addAttachment(String name, byte[] attachmentBytes)
public String getAuthor()
public String getCategory()
public String getFormName()
public boolean isFormatted()
public static boolean isFileImage(String fileName)
public void addFile(String name, File file) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionpublic void removeAttachment(String name, boolean isImage)
public String toXML()
public void reset()
Copyright © 2016 LSST. All rights reserved.