org.cruxframework.crux.core.client.file
Class File

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by org.cruxframework.crux.core.client.file.Blob
          extended by org.cruxframework.crux.core.client.file.File

public class File
extends Blob

Author:
Thiago da Rosa de Bustamante

Constructor Summary
protected File()
           
 
Method Summary
protected static File create(Blob blob, String fileName)
           
static File createIfSupported(com.google.gwt.typedarrays.shared.ArrayBuffer body, String type, String fileName)
           
static File createIfSupported(com.google.gwt.typedarrays.shared.ArrayBufferView body, String type, String fileName)
           
static File createIfSupported(Blob blob, String fileName)
           
static File createIfSupported(com.google.gwt.core.client.JsArrayMixed body, String type, String fileName)
           
static File createIfSupported(String body, String type, String fileName)
           
 com.google.gwt.core.client.JsDate getLastModifiedDate()
           
 String getName()
           
static boolean isSupported()
           
 
Methods inherited from class org.cruxframework.crux.core.client.file.Blob
close, create, create, create, create, createIfSupported, createIfSupported, createIfSupported, createIfSupported, getSize, getType, slice, slice, slice, slice
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

File

protected File()
Method Detail

getName

public final String getName()

getLastModifiedDate

public final com.google.gwt.core.client.JsDate getLastModifiedDate()

isSupported

public static boolean isSupported()

createIfSupported

public static File createIfSupported(com.google.gwt.core.client.JsArrayMixed body,
                                     String type,
                                     String fileName)

createIfSupported

public static File createIfSupported(Blob blob,
                                     String fileName)

createIfSupported

public static File createIfSupported(com.google.gwt.typedarrays.shared.ArrayBuffer body,
                                     String type,
                                     String fileName)

createIfSupported

public static File createIfSupported(com.google.gwt.typedarrays.shared.ArrayBufferView body,
                                     String type,
                                     String fileName)

createIfSupported

public static File createIfSupported(String body,
                                     String type,
                                     String fileName)

create

protected static File create(Blob blob,
                             String fileName)


Copyright © 2014. All rights reserved.