com.atlassian.confluence.util
Class ResizableImage

java.lang.Object
  extended by com.atlassian.confluence.util.ResizableImage

public class ResizableImage
extends java.lang.Object

Uses thumbnail class to resize image


Field Summary
static org.apache.log4j.Category log
           
static java.lang.String RESIZE_DIR
           
 
Constructor Summary
ResizableImage(java.io.File imageToResize)
           
ResizableImage(java.io.InputStream inputStream, java.lang.String filename)
           
 
Method Summary
 java.io.File resizeTo(int height, int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.apache.log4j.Category log

RESIZE_DIR

public static final java.lang.String RESIZE_DIR
See Also:
Constant Field Values
Constructor Detail

ResizableImage

public ResizableImage(java.io.File imageToResize)

ResizableImage

public ResizableImage(java.io.InputStream inputStream,
                      java.lang.String filename)
Method Detail

resizeTo

public java.io.File resizeTo(int height,
                             int width)


Copyright © 2003-2014 Atlassian. All Rights Reserved.