org.tinygroup.docgen.util
类 ImageUtil

java.lang.Object
  继承者 org.tinygroup.docgen.util.ImageUtil

public class ImageUtil
extends Object


方法摘要
static String fileToBase64(File file)
           
static String fileToBase64(String fileName)
           
static String streamToBase64(InputStream inputStream)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

streamToBase64

public static String streamToBase64(InputStream inputStream)
                             throws Exception
抛出:
Exception

fileToBase64

public static String fileToBase64(String fileName)
                           throws Exception
抛出:
Exception

fileToBase64

public static String fileToBase64(File file)
                           throws Exception
抛出:
Exception


Copyright © 2006–2016 TinyGroup. All rights reserved.