org.lsst.ccs.elog
Class ElogEntry
java.lang.Object
org.lsst.ccs.elog.ElogEntry
public class ElogEntry
- extends Object
- Author:
- turri
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElogEntry
public ElogEntry()
addTag
public void addTag(String tagName)
setAuthor
public void setAuthor(String author)
setCategory
public void setCategory(String category)
setFormatted
public void setFormatted(boolean formatted)
setFormName
public void setFormName(String formName)
setFormField
public void setFormField(String fieldName,
String fieldValue)
addImage
public void addImage(String name,
byte[] imageBytes)
addAttachment
public void addAttachment(String name,
byte[] attachmentBytes)
getAuthor
public String getAuthor()
getCategory
public String getCategory()
getFormName
public String getFormName()
isFormatted
public boolean isFormatted()
getImages
public Set<String> getImages()
getAttachments
public Set<String> getAttachments()
isFileImage
public static boolean isFileImage(String fileName)
addFile
public void addFile(String name,
File file)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
removeAttachment
public void removeAttachment(String name,
boolean isImage)
toXML
public String toXML()
reset
public void reset()
Copyright © 2013 LSST. All Rights Reserved.