Groovy Documentation

src.groovy.pl.burningice.plugins.image.file
Class ImageFileFactory

java.lang.Object
  src.groovy.pl.burningice.plugins.image.file.ImageFileFactory

class ImageFileFactory

Produce ImageFile object depends on source

author:
pawel.gdula@burningice.pl


Constructor Summary
ImageFileFactory()

 
Method Summary
static ImageFile produce(java.io.File source)

Overloaded method that will produce LocalImageFile

static ImageFile produce(MultipartFile source)

Overloaded method that will produce MultipartImageFile

 
Methods inherited from class java.lang.Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

ImageFileFactory

ImageFileFactory()


 
Method Detail

produce

public static ImageFile produce(java.io.File source)
Overloaded method that will produce LocalImageFile
param:
File source
return:
ImageFile


produce

public static ImageFile produce(MultipartFile source)
Overloaded method that will produce MultipartImageFile
param:
File source
return:
ImageFile


 

Groovy Documentation