wicket.contrib.tinymce.image
Class ImageUploadHelper

java.lang.Object
  extended by wicket.contrib.tinymce.image.ImageUploadHelper

public class ImageUploadHelper
extends Object

Image upload handler responsible for images operations.

Author:
Michal Letynski

Field Summary
static String IMAGE_CONTENT_TYPE
           
static String IMAGE_FILE_NAME
           
 
Method Summary
static XmlTag createImageTag(ImageFileDescription pImageFileDescription, CharSequence pUrl)
          Create image xml tag which represets image html tag with proper url generated.
static String getTemporaryDirPath()
          Get temporary directory path for storing temporary files for e.g images.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IMAGE_CONTENT_TYPE

public static final String IMAGE_CONTENT_TYPE
See Also:
Constant Field Values

IMAGE_FILE_NAME

public static final String IMAGE_FILE_NAME
See Also:
Constant Field Values
Method Detail

getTemporaryDirPath

public static String getTemporaryDirPath()
Get temporary directory path for storing temporary files for e.g images.

Returns:
temporary directory path for storing temporary files for e.g images.

createImageTag

public static XmlTag createImageTag(ImageFileDescription pImageFileDescription,
                                    CharSequence pUrl)
Create image xml tag which represets image html tag with proper url generated.

Parameters:
pImageFileDescription - - image file description.
pUrl - - component url.
Returns:
image xml tag which represets image html tag with proper url generated.


Copyright © 2004-2011. All Rights Reserved.