| java.lang.Object org.blojsom.plugin.moblog.MoblogPluginUtils
MoblogPluginUtils | public class MoblogPluginUtils (Code) | | Moblog Plugin Utils
author: David Czarnecki version: $Id: MoblogPluginUtils.java,v 1.5 2007/01/17 02:35:11 czarneckid Exp $ since: blojsom 3.0 |
readMailboxSettingsForBlog | public static Mailbox readMailboxSettingsForBlog(ServletConfig servletConfig, Blog blog)(Code) | | Read in the mailbox settings for a given blog
Parameters: blog - Blog Mailbox populated with settings and authorized e-mail addresses or null if therewas an error reading any configuration information |
saveFile | public static int saveFile(String filename, String extension, InputStream input) throws IOException(Code) | | Save a file to disk
Parameters: filename - Base filename Parameters: extension - File extension Parameters: input - Input from which to read and write a file # of bytes written to disk throws: IOException - If there is an error writing the file |
|
|