| Package | Description |
|---|---|
| org.cruxframework.crux.core.client.db |
Contains classes to support a database on client browser.
|
| org.cruxframework.crux.core.client.file | |
| org.cruxframework.crux.core.client.image | |
| org.cruxframework.crux.core.client.utils | |
| org.cruxframework.crux.core.client.websocket | |
| org.cruxframework.crux.core.client.xhr |
| Modifier and Type | Method and Description |
|---|---|
Blob |
IDXFileCursor.getValue() |
| Modifier and Type | Method and Description |
|---|---|
void |
IDXFileStore.add(Blob file,
String fileName) |
void |
FileStore.add(Blob file,
String fileName)
Insert a new file into the database.
|
void |
IDXFileStore.add(Blob file,
String fileName,
DatabaseWriteCallback<String> callback) |
void |
FileStore.add(Blob file,
String fileName,
DatabaseWriteCallback<String> callback)
Insert a new file into the database.
|
void |
IDXFileStore.put(Blob file,
String fileName) |
void |
FileStore.put(Blob file,
String fileName)
If database already contains a file stored with the given fileName, update the file stored.
|
void |
IDXFileStore.put(Blob file,
String fileName,
DatabaseWriteCallback<String> callback) |
void |
FileStore.put(Blob file,
String fileName,
DatabaseWriteCallback<String> callback)
If database already contains a file stored with the given fileName, update the file stored.
|
void |
IDXFileCursor.update(Blob file) |
| Modifier and Type | Method and Description |
|---|---|
void |
IDXFileStore.get(String key,
DatabaseRetrieveCallback<Blob> callback) |
void |
FileStore.get(String key,
DatabaseRetrieveCallback<Blob> callback)
Retrieve a file from the database.
|
| Modifier and Type | Class and Description |
|---|---|
class |
File |
| Modifier and Type | Method and Description |
|---|---|
protected static Blob |
Blob.create(com.google.gwt.typedarrays.shared.ArrayBuffer b,
String t) |
protected static Blob |
Blob.create(com.google.gwt.typedarrays.shared.ArrayBufferView b,
String t) |
protected static Blob |
Blob.create(Blob b,
String t) |
protected static Blob |
Blob.create(com.google.gwt.core.client.JsArrayMixed b,
String t) |
protected static Blob |
Blob.create(String b,
String t) |
static Blob |
Blob.createIfSupported(com.google.gwt.typedarrays.shared.ArrayBuffer body,
String type) |
static Blob |
Blob.createIfSupported(com.google.gwt.typedarrays.shared.ArrayBufferView body,
String type) |
static Blob |
Blob.createIfSupported(Blob body,
String type) |
static Blob |
Blob.createIfSupported(com.google.gwt.core.client.JsArrayMixed body,
String type) |
static Blob |
Blob.createIfSupported(String body,
String type) |
Blob |
Blob.slice() |
Blob |
Blob.slice(int start) |
Blob |
Blob.slice(int start,
int end) |
Blob |
Blob.slice(int start,
int end,
String contentType) |
| Modifier and Type | Method and Description |
|---|---|
protected static File |
File.create(Blob blob,
String fileName) |
protected static Blob |
Blob.create(Blob b,
String t) |
static File |
File.createIfSupported(Blob blob,
String fileName) |
static Blob |
Blob.createIfSupported(Blob body,
String type) |
static String |
URL.createObjectURL(Blob blob) |
void |
DownloadWindow.openSaveAsWindow(Blob blob,
String name) |
void |
FileReader.readAsArrayBuffer(Blob blob,
FileReader.ReaderArrayCallback callback) |
void |
FileReader.readAsBinaryString(Blob blob,
FileReader.ReaderStringCallback callback) |
void |
FileReader.readAsDataURL(Blob blob,
FileReader.ReaderStringCallback callback) |
void |
FileReader.readAsText(Blob blob,
String encoding,
FileReader.ReaderStringCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
Blob |
ImageProcessor.asGif()
Export content image as a GIF file.
|
Blob |
ImageProcessor.asJpeg(double quality)
Export content image as a JPEG file.
|
Blob |
ImageProcessor.asPng()
Export content image as a PNG file.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ImageProcessor.createIfSupportedAndLoadImage(Blob image,
ImageProcessor.ImageCreateAndLoadHandler handler)
Create ImageProcessor instance and automatically loads the image.
|
void |
ImageProcessor.loadImage(Blob image,
ImageProcessor.ImageLoadHandler handler)
Loads an image to the processor.
|
| Modifier and Type | Method and Description |
|---|---|
static Blob |
FileUtils.fromDataURI(String dataURI)
Create a new Blob from the dataURI string
|
| Modifier and Type | Method and Description |
|---|---|
void |
WebSocket.send(Blob data) |
| Modifier and Type | Method and Description |
|---|---|
void |
XMLHttpRequest2.send(String paramName,
Blob file) |
Copyright © 2015. All rights reserved.