|
Method DetailString getContentType() Returns the content type of this attachment Returns: String Since: 11-18-2008 String getCreator() Returns creator name for this Attachment Returns: String Since: 09-08-2009 String getDescription() Returns the description of this attachment Returns: String Since: 11-18-2008 DisplaySettings getDisplaySettings() Returns the DisplaySettings for this Attachment Returns: DisplaySettings Since: 03-06-2009 String getFileExtension() Returns file extension for this attachment Returns: String Since: 03-31-2010 int getFileSize() Returns the size of this attachment in KB Returns: int Since: 11-18-2008 String getFilename() Returns file name for this attachment Returns: String Since: 03-31-2010 String getId() Returns the id of this attachment Returns: String Since: 08-19-2009 Date getLastModifiedDate() Returns last modification time stamp for this Attachment Returns: Date Since: 09-08-2009 String getLastModifier() Returns last modifier name for this Attachment Returns: String Since: 09-08-2009 String getName() Returns the name of this attachment Returns: String Since: 11-18-2008 boolean isClean() Returns true if this attachment was checked for viruses or macros and contains none. Returns: boolean Since: 02-23-2010 boolean isDataListSupported() Returns true if this attachment can be converted to a DataList Returns: boolean Since: 01-14-2010 boolean isHTMLConversionSupported() Returns true if this attachment can be converted to HTML. Currently supported: doc, docx, rtf, odt. Returns: boolean Since: 09-08-2009 boolean isPdfConversionSupported() Returns true if the content supports conversion to PDF. Returns: boolean Since: 01-28-2009 setDescription(String description) Sets the description of this attachment
Parameters:
Since: 09-09-2009 setName(String name) Sets the name of this attachment
Parameters:
Since: 09-09-2009 PacketDataList toDataList(String name) Creates a non persistent PacketDataList from the contents of this attachment. The contents must support DataList conversion (currently .csv and .xls)
Parameters:
Returns: PacketDataList Since: 01-14-2010 File toFile() Returns contents of this attachment as file object Returns: File Since: 05-10-2011 String toString() Returns a description of this object. Returns: String Since: 11-18-2008 boolean updateContent(File file) Returns true if this attachment is successfully updated with the file content.
Parameters:
Returns: boolean Since: 01-07-2010 |
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. | API Date: Nov 18, 2024 01:04 PM |