com.atlassian.confluence.plugins.lookandfeel
Class ImageScaler

java.lang.Object
  extended by com.atlassian.confluence.plugins.lookandfeel.ImageScaler

public class ImageScaler
extends java.lang.Object


Field Summary
static java.lang.String TEMP_DIR
           
 
Constructor Summary
ImageScaler()
           
 
Method Summary
 java.io.File scaleImageToMaxHeight(java.io.File file, int maxHeight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEMP_DIR

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

ImageScaler

public ImageScaler()
Method Detail

scaleImageToMaxHeight

public java.io.File scaleImageToMaxHeight(java.io.File file,
                                          int maxHeight)
                                   throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2003-2014 Atlassian. All Rights Reserved.