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

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

public class Blob
extends com.google.gwt.core.client.JavaScriptObject

Author:
Thiago da Rosa de Bustamante

Constructor Summary
protected Blob()
           
 
Method Summary
 void close()
           
protected static Blob create(com.google.gwt.typedarrays.shared.ArrayBuffer b, String t)
           
protected static Blob create(com.google.gwt.typedarrays.shared.ArrayBufferView b, String t)
           
protected static Blob create(Blob b, String t)
           
protected static Blob create(com.google.gwt.core.client.JsArrayMixed b, String t)
           
protected static Blob create(String b, String t)
           
static Blob createIfSupported(com.google.gwt.typedarrays.shared.ArrayBuffer body, String type)
           
static Blob createIfSupported(com.google.gwt.typedarrays.shared.ArrayBufferView body, String type)
           
static Blob createIfSupported(Blob body, String type)
           
static Blob createIfSupported(com.google.gwt.core.client.JsArrayMixed body, String type)
           
static Blob createIfSupported(String body, String type)
           
 double getSize()
           
 String getType()
           
static boolean isSupported()
           
 Blob slice()
           
 Blob slice(int start)
           
 Blob slice(int start, int end)
           
 Blob slice(int start, int end, String contentType)
           
 
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

Blob

protected Blob()
Method Detail

getSize

public final double getSize()

getType

public final String getType()

close

public final void close()

slice

public final Blob slice()

slice

public final Blob slice(int start)

slice

public final Blob slice(int start,
                        int end)

slice

public final Blob slice(int start,
                        int end,
                        String contentType)

isSupported

public static boolean isSupported()

createIfSupported

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

createIfSupported

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

createIfSupported

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

createIfSupported

public static Blob createIfSupported(Blob body,
                                     String type)

createIfSupported

public static Blob createIfSupported(String body,
                                     String type)

create

protected static Blob create(com.google.gwt.core.client.JsArrayMixed b,
                             String t)

create

protected static Blob create(com.google.gwt.typedarrays.shared.ArrayBuffer b,
                             String t)

create

protected static Blob create(com.google.gwt.typedarrays.shared.ArrayBufferView b,
                             String t)

create

protected static Blob create(Blob b,
                             String t)

create

protected static Blob create(String b,
                             String t)


Copyright © 2014. All rights reserved.