com.ephox.editlive.custom
Interface FileUploader


public interface FileUploader

Interface to allow custom handling of image and file uploads.

See Also:
ELJBean.setFileUploader(FileUploader)

Method Summary
 String uploadFile(File file)
          Uploads the file and returns the String url to the file.
 

Method Detail

uploadFile

String uploadFile(File file)
Uploads the file and returns the String url to the file. All references to the file in the document will be updated with the string result of this method.

Parameters:
file - A reference to the local resource that must be uploaded
Returns:
the URL path to the uploaded file, or null if the upload failed

Copyright (c) 2005-2012 Ephox Pty Ltd. All rights reserved.