org.vectomatic.file.impl.SliceImplStandard Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lib-gwt-file Show documentation
Show all versions of lib-gwt-file Show documentation
A GWT encapsulation of the W3C File API
package org.vectomatic.file.impl;
import org.vectomatic.file.Blob;
public class SliceImplStandard extends SliceImpl {
public final native Blob slice(Blob blob) /*-{
return blob.slice();
}-*/;
final native Blob slice_(Blob blob, String start) /*-{
return blob.slice(start);
}-*/;
final native Blob slice_(Blob blob, String start, String end) /*-{
return blob.slice(start, end);
}-*/;
final native Blob slice_(Blob blob, String start, String end, String contentType) /*-{
return blob.slice(start, end, contentType);
}-*/;
}