com.atlassian.confluence.plugins.lookandfeel
Class ImageScaler

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

public class ImageScaler
extends Object


Field Summary
static String TEMP_DIR
           
 
Constructor Summary
ImageScaler()
           
 
Method Summary
 File scaleImageToMaxHeight(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 String TEMP_DIR
See Also:
Constant Field Values
Constructor Detail

ImageScaler

public ImageScaler()
Method Detail

scaleImageToMaxHeight

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


Copyright © 2003-2013 Atlassian. All Rights Reserved.