All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.vectomatic.file.impl.SliceImplMozilla Maven / Gradle / Ivy

There is a newer version: 0.3.9
Show newest version
package org.vectomatic.file.impl;

import org.vectomatic.file.Blob;

public class SliceImplMozilla extends SliceImpl {
	public final native Blob slice(Blob blob) /*-{
    return ('slice' in blob) ? blob.slice() : blob.mozSlice();
	}-*/;
	
	final native Blob slice_(Blob blob, String start) /*-{
    return ('slice' in blob) ? blob.slice(start) :blob.mozSlice(start);
	}-*/;
	
	final native Blob slice_(Blob blob, String start, String end) /*-{
    return ('slice' in blob) ? blob.slice(start, end) : blob.mozSlice(start, end);
	}-*/;
	
	final native Blob slice_(Blob blob, String start, String end, String contentType) /*-{
    return ('slice' in blob) ? blob.slice(start, end, contentType) : blob.mozSlice(start, end, contentType);
	}-*/;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy