org.cruxframework.crux.core.client.utils
Class FileUtils

java.lang.Object
  extended by org.cruxframework.crux.core.client.utils.FileUtils

public class FileUtils
extends Object

Author:
Thiago da Rosa de Bustamante

Constructor Summary
FileUtils()
           
 
Method Summary
static Blob fromDataURI(String dataURI)
          Create a new Blob from the dataURI string
static String getFileExtension(String fileName)
          Get the file extension based in the filename
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtils

public FileUtils()
Method Detail

getFileExtension

public static String getFileExtension(String fileName)
Get the file extension based in the filename

Parameters:
fileName -
Returns:

fromDataURI

public static Blob fromDataURI(String dataURI)
Create a new Blob from the dataURI string

Parameters:
dataURI -
Returns:


Copyright © 2014. All rights reserved.